Hello
I setup a grid and a form.
When I update data in the form and click on the save button, a call to update somes filed in the grid is done by an event calling for example:
myGrid.cells(sid,3).setValue(myForm.getItemValue("myColumnToRefresh"));
Basically the value is a boolean (0/1) set as readonly in the grid.
The setValue() works fine: 0 or 1 is correctly set in the grid.
Now, if I setup a particular “beforeRender” event in connector to display “NOK/OK” instead of ‘“0/1”, it first dispalys fine, but as soon as I change the boolean value in the form, the grid displays “undefined” instead of “OK”’ or “NOK”.
A myGrid.clearAndLoad() instead of targeted cells setValues() avoid the “undefined” problem… but I loose all my filters and ordering on my grid columns.
Any clue on how to go further and to get the beforeRender action executed (or a beforeRender-like operation) when teh cells updates comes from the client side ?
See it here : ks369381.kimsufi.com/hebergement … rents.html
Regards
Matt