I wish to use the EnableHeaderCheckBox in my grid view but cancel its action under certain conditions (should not select/unselect all if a custom condition is true). How can I do that?
In the HeaderCellToggleStateChanged, there is no Cancel action in the GridViewHeaderCellEventArgs.
1 Answer, 1 is accepted
0
Hristo
Telerik team
answered on 19 Dec 2014, 04:53 PM
Hello Claude,
Thank you for writing.
You can reach this kind of behavior by using the Enabled property of the CheckBox object of the GridCheckBoxHeaderCellElement:
I hope that this information is useful. Should you have further questions please do not hesitate to write back.
Regards,
Hristo
Telerik
Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.