fires 1-3 times depending on cell's editability (see the stage parameter)
| stage | number | the stage of editing (0-before start; can be canceled if return false,1 - the editor is opened,2- the editor is closed) |
| rId | string|number | the id of a row |
| cInd | number | the index of a cell |
| nValue | number | a new value (only for the stage 2) |
| oValue | number | an old value (only for the stage 2) |
| mixed | true - editing is confirmed, false - editing is canceled; or a new value of the cell |
Available only in PRO Edition
grid.attachEvent("onEditCell", function(stage,rId,cInd,nValue,oValue){
// your code here
});
the event is commonly used for validation
Back to top