Cell Editing Hook
Javascript Data Grid
To Hook Edits To Your Back End
The function pictured above executes every time you edit a cell. To hook to your back end on cell edits, simply declare the
deeboCellEditHook function in a top level script on the window and give it your own implementation.
The function accepts 3 parameters. First is either a user-provided primary key or the fixed,
0-based index of the edited cell in the entire dataset, not it's index in your currently filtered data. You can add the
primary key yourself by doing a ctrl + F for uProvidedPrimKey in the minified script that downloads, and updating the
null value with your arbitrary primary key as a string. The 2nd parameter will be whatever attribute/column name is being
currently edited. Finally, the raw, typed resulting value of your edit is always the final argument. It will either be a
javascript string, Date, or Number.