This question is locked. New answers and comments are not allowed.
Hi, thought I'd pop by and make known a few issues I've come accross with inline editing.
If you specify a boolean field, it creates a input type=checkbox with a value attribute. This value attribute is by default set to 'true' and is ignored in general. The problem comes in with Remote Validation, whereby that value field is used, defaults to true on insert and doesn't change when the checkbox check state changes.
I have made a workaround where on the OnEdit event you set the value of that input to its equivalent :checked state (el.val(el.is(':checked'))), as well as providing an onchange handler to do the same.
Another issue I had is that when editing a date field with the datepicker, it doesn't 'load' the date but it's visible inside the invisible input value (via firebug). I resolved this by specifying the same format on the display bound column and the editing datepicker control.
Ciao
If you specify a boolean field, it creates a input type=checkbox with a value attribute. This value attribute is by default set to 'true' and is ignored in general. The problem comes in with Remote Validation, whereby that value field is used, defaults to true on insert and doesn't change when the checkbox check state changes.
I have made a workaround where on the OnEdit event you set the value of that input to its equivalent :checked state (el.val(el.is(':checked'))), as well as providing an onchange handler to do the same.
Another issue I had is that when editing a date field with the datepicker, it doesn't 'load' the date but it's visible inside the invisible input value (via firebug). I resolved this by specifying the same format on the display bound column and the editing datepicker control.
Ciao