Categories | Question details Back To List | ||
DHTMLXGrid events Hi, I am using the grid control, and managing the gird save status by serializing XML and uploading it. This works fine. I have "Save" and "Load" buttons. When the user makes a change I want to enable the "Save" button, I see that I can grid.attachEvent("OnEditCell",enableSaveButton) Is there an event that I can attach to that shows the grid has been modified in any way, not just cell editing. something like grid.attachEvent("OnChange",enableSaveButton) or do i have to attach to all the relevant events individually ? AC Answer posted on Jun 18, 2007 15:01 >>the grid has been modified in any way, not just cell editing If you need to handle only change of cell value ( by any method ) you can use onCellChanged event grid.attachEvent("onCellChanged ",enableSaveButton) please beware that event react on ANY operation which change cell value, including initial row adding from XML/script. So probably for your goal it need to be attached only after initial data loading. Answer posted by Stanislav (Support) on Dec 05, 2014 16:48 I hope this information will be enough for you. But you also can have a look at grid treeview and javascript ajax tree. |