SpreadJS set cursor at end in keyup event

146 Views Asked by At

I am using spreadjs to show spreadsheet in my project. There is a bug which I need to fix. 1. set the cell text alignment to center/right. 2. Enter some text and then delete it using backspace. 3. After the backspace is finished(all the text is deleted) then yo try to write "Test" in cell. Following will be displayed "estT"

That is why I think if I try to set cursor at end in each keyup event, this bug will be resolved.

0

There are 0 best solutions below