Helle I have the following problem:
I have a datatable with many rows. OnCheck on checkbox in a row I can change this in the database as well. But if I click the masterCheckbox I do not want to update each row in the database but update all at once. but when I use “onHeaderClick” and “onCheck” always onCheck comes at the first place…
How can i prevent the onCheck event when I use the onHeaderClick event???
Thank you so much
Michael
Hello,
Not sure I understand why “onCheck” is called when “onHeaderCheck” is executed. It might be easier to understand the problem you’re facing if you’d prvide a Code Snippet.
For what it worth, I did not find a way to “prevent” a check form happening, but what I usually is “revert” the check value of the row without making any changes to the DB.
Here’s a code snippet where clicking on header id flipping the the value form the dataSource without event “onClick” being called: Code Snippet
I hope this helps, but in any case if you add more details I’ll take a look and try to answer you best I can.
Have a nice day!
=o)