Cell Editing Hook
Javascript Data Grid
To Hook Edits To Your Back End
This code executes each time a cell is edited if you haven't taken measures to block editing.
deeboCellEditHook(rowKey, realProp, val, valueDidChange, idType)You need to add an implementation of this function in your own code (at the top=level Window scope). It will emit the values seen above - row will either be the 0-based index of the edited cell's parent row in the initial, unsorted/unfiltered data set or, if a primaryKey is passed or detected, it will be the value of that primaryKey for the edited row. realProp is the column/attribute and val is the real value of the edit, which can be a string, number or Date. Use idType (will be either "key" or "rowId") to know which one is emitting. Use valueChanged to know if an edit actually changed the value