Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
1740
UltraWebGrid AfterCellUpdate is called recursive?
posted

I am using the UltraWebGrid from Version 10.2.20102.2152. Two of my grid columns are checkbox columns. The grid allows the user to check/uncheck the checkbox column. I then have to check/uncheck related rows based on business rules. I implemented the logic in the AfterCellUpdateHandler event. The problem I am facing - everytime I set the value for the checkbox column programmatically it refires the event. How to do I prevent the event from re-firing or how do I detach the event before setting the column values and attach the event back later.

The grid also has a checkbox in the header column. On check/uncheck of the header column, I have to select/unselect all the rows of the grid. This I have implemented in another JavaScript function
 but setting the column values again calls the AfterCellUpdateHandler event.