Hi,
I created an editable grid with a column containing a CheckBox using the following code :
columns.Bound(Function(c) c.Active).ClientTemplate("<input type='checkbox' #= Active ? checked='checked' : '' # />").Width("50px")
The checkbox is checked correctly when the value of the backing data is "true". However it doesn't work when I try to update this value. In other words, if I check the checkbox, the value sent to the controller is always "false".
What am I doing wrong ?
Thanks a lot
I created an editable grid with a column containing a CheckBox using the following code :
columns.Bound(Function(c) c.Active).ClientTemplate("<input type='checkbox' #= Active ? checked='checked' : '' # />").Width("50px")
The checkbox is checked correctly when the value of the backing data is "true". However it doesn't work when I try to update this value. In other words, if I check the checkbox, the value sent to the controller is always "false".
What am I doing wrong ?
Thanks a lot