I am using a UnboundCheckBoxField and binding data on the client using ajax. How do i set/reset the checkbox to default to unchecked?
Hi c_v_nag,
You can use something like the followig javascript code to set the values for UnboundCheckBoxField:
var grid = $find("WebDataGrid1");var rowsCount = grid.get_rows().get_length();for (var i = 0; i < rowsCount; i++) { grid.get_rows().get_row(i).get_cellByColumnKey("UnboundField1").set_value(false);}
If you have any questions regarding the mater, please let me know.
Hello c_v_nag,
I'm just checking if you have resolved your issue.