Hi I need a ultrawebgrid with column(0) as checkbox. When I check the header checkbox i have to check all the checkboxes in the column(0).
how to do this. early response would be greatly appreciated.
Thanks,
ATMY@chevron.com
You can use the following code to select/deselect all the checkboxes when a header checkbox is checked.
$('#headerCheckbox').click(function () { var isheaderChecked = this.checked; $(".childCheckBox").each(function () { this.checked = isChecked; }) })
Also when you uncheck any one of the child checkbox you need to uncheck the header checkbox also, for that code, look at this post:
http://coding-issues.blogspot.in/2013/10/check-uncheck-all-checkboxes-jquery.html