I am using SpreadJS version 12
What I want is to get cell text/value after each keyDown/keyUp event.
when I try to run cell.text()
or cell.getValue()
I get old value(The value which was present earlier when we focused the cell)
for ex.
If cell 0,0 has a text "Sample"
double click that cell to start editing
we press backspace 2 times.
in keyDown event we try to get cell text by cell.text()/cell.getValue()
Expected output is "Samp", but I am getting "Sample".
we can bind following event.
self.sheet.bind(GC.Spread.Sheets.Events.EditChange, function(e, args) {
console.log(args.editingText);
});
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.