I have a ListGrid and DynamicForm bound to the same data source. A nice feature of SmartClient is, is that when I save the form, the data in the grid gets updated as well. I was wondering in which event this happens because I want to add some logic of my own. I know there's a callback option for the submit() method of the form, but this doesn't get called when the form is submitted with the Enter-key (I have saveOnEnter set to true in the form).
A little background:
I also have editable ListGrids and I created a mechanism that after editing of a record, it gets reselected again (because it gets deselected by default after saving). Because my grid can't contain all editable fields, I have created a DynamicForm that handles the saving of data. After it saves, the grid row gets updated, but also deselected. I want to reselect it just like I do in editable grids (I use editComplete() in the grids).
A little background:
I also have editable ListGrids and I created a mechanism that after editing of a record, it gets reselected again (because it gets deselected by default after saving). Because my grid can't contain all editable fields, I have created a DynamicForm that handles the saving of data. After it saves, the grid row gets updated, but also deselected. I want to reselect it just like I do in editable grids (I use editComplete() in the grids).
Comment