Hi,
I am using grid in ajax mode, and I added an custom command, which calls javascript function on click.
The javascript function calls server side via ajax and update the data.
I have also change the front end value by using set.
Problem is, once I click the edit button(along side the custom command), the front end value changes back.
Also, any cancel change call revert the front end to old value, even that is triggered by different row.
How to commit changes so front end change sustain?
There must be a way, since all those build in command, like edit, delete, once server side returns json successfully, the change sustains.
Thanks
I am using grid in ajax mode, and I added an custom command, which calls javascript function on click.
The javascript function calls server side via ajax and update the data.
I have also change the front end value by using set.
Problem is, once I click the edit button(along side the custom command), the front end value changes back.
Also, any cancel change call revert the front end to old value, even that is triggered by different row.
How to commit changes so front end change sustain?
There must be a way, since all those build in command, like edit, delete, once server side returns json successfully, the change sustains.
Thanks