This is a migrated thread and some comments may be shown as answers.

How to get editing cell's original value in grid

0 Answers 39 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Alan
Top achievements
Rank 1
Alan asked on 03 Sep 2012, 01:13 AM
Try to determine target cell editable or not based on its value

try to do it at edit event but do not know how to get target cell's original value

please help

code:


edit: function(e) {
var val = ;   // target cell's value
if (val = "-"){
         this.closeCell();
}
}


how to get val's value?

No answers yet. Maybe you can help?

Tags
Grid
Asked by
Alan
Top achievements
Rank 1
Share this question
or