How do I handle dojo datagrid cell updates so I can post them back automatically to the server?

Posted by Raj on Stack Overflow See other posts from Stack Overflow or by Raj
Published on 2010-04-23T18:09:41Z Indexed on 2010/04/23 18:23 UTC
Read the original article Hit count: 444

Filed under:
|
|
|

I am using dojo datagrid to display my data. When the end user edit the cell values it should be updated in the server using ajax calls(when the focus goes out of the cell).

Else, I should have a Edit & update/cancel buttons for each row to handle the same feature. But I don know how to place edit & update buttons inside the grid and capture their events.

By default dojo updates only local the store value(client side). how can I save the updated cell values into the server?

do we need to write any override methods to do so??

I am new to dojo. Any detailed explanation or sample codes would be much appreciated.

Could anyone lend a hand to solve this issue??

Thank you

Regards, Raj

© Stack Overflow or respective owner

Related posts about dojo

Related posts about datagrid