I think I used to do this on some older Infragistrics grid, and maybe I'm missing something obvious here, but is there any way to have the grid automatically post back changes via AJAX as they are made? So that as soon as a user edits a cell and moves to another (or a row) the change is posted back to the server and saved in the background.
Hi,
You just have to capture the exitededitmode client side event call the commit method off of editingcore. You also have to handle the rowupdating event server side. You don't need any code there, but the commit won't work unless you have that event there.
function ExitedEditMode() { var grid = ig_controls["WebDataGrid1"]; var editingCore = grid.get_behaviors().get_editingCore(); editingCore.commit(); }
Ed
Hello,
A declarative approach looks like this:
<ig:Selection CellClickAction="Row" RowSelectType="Single"> <AutoPostBackFlags CellSelectionChanged="true" /></ig:Selection>
It requires Selection behavior.
Hope this helps