Grid inline editing


Inline editing for grid achieved using InlineEdit grid mod
Delete action is the same as in the grid crud demo, using a popup.
To set initial values on create set the initial model as a parameter in the inlineCreate method, example: $grid.data('api').inlineCreate({ Name: 'hi' })
On Save you also get the grid parameters, for example this grid has txtSearchInl as parent, so you get the value of txtSearchInl as 'search' parameter in the Edit/Create post actions

Edit on row click


Edit on row click, and save when clicking out if there is are any changes.
When there are validation errors, grid loading (go to another page, sort, group) will be prevented.



Comments