Hello,
I have implemented the client-side declarative binding sample but can not get the GridCheckBoxColumn to show as checked regardless of the Sql value. I see that the http://demos.telerik.com/aspnet-ajax/grid/examples/data-binding/client-side/declarative/defaultcs.aspx sample has the same problem. How can I get this to work? I tried implementing RowDataBound but this did not help. Thank you.
I have implemented the client-side declarative binding sample but can not get the GridCheckBoxColumn to show as checked regardless of the Sql value. I see that the http://demos.telerik.com/aspnet-ajax/grid/examples/data-binding/client-side/declarative/defaultcs.aspx sample has the same problem. How can I get this to work? I tried implementing RowDataBound but this did not help. Thank you.
function RowDataBound(sender, eventArgs) {
if (eventArgs.get_dataItem()["Discontinued"] == true) {
var checkbox = eventArgs.get_item().get_cell("Discontinued").getElementsByTagName("input")[0];
checkbox.checked = true;
}
}