Due to the requirements, I had to implement the grid cells so that some of them are always in edit mode (input) and that the grid will fire an ajax call to the API server whenever user finishes updating cell value.
Here's what I have:
Grid DataSource and event handlers
Click handler (get new data based on currently selected options)
onDataChange, onDataBinding and onDataBound
What happens right now is whenever the dataSource.read(GetParams()) gets called for the first time, the following things happen in this particular order:
which is fine. But if the button is not clicked (which calls dataSource.read(GetParams())), and the user simply edits currently displayed cells, I'm hoping only onDataChange gets called, but it turns out that onDataBinding and onDataBound get called again, and then onDataChange.
Is it possible to prevent onDataBinding and onDataBound from being called more than once?
Please see attached for the UI