Batch Editing
Batch Editing
Features
Description
Excel-Style editing:The MultiRow has built-in support for Excel-like, fast, in-cell editing.There is no need to add extra columns with 'Edit' buttons that switch between display and edit modes.
Users can start editing simply by typing into any cell. This is called 'quick-edit' mode.In this mode, the cursor keys finish the editing and the grid moves the selection.They can also start editing by pressing F2 or by clicking a cell twice.This is called 'full-edit' mode.In this mode, the cursor keys move the caret within the editor and the user must press the Enter, Tab, or Escape keys to finish editing.
There are two modes for editing the data.
Normal Mode
In this mode, the item updated or created will be commit to the server after the corresponding row finishes editing. The removed row will be commit to the server immediately.
If the user wants to update the data, the Update action Url should be provided. If he wants to add or remove the data, the Create or Delete action Url should be provided.And the user should edit the data in the corresponding action. It is default mode.
Batch Mode
MultiRow has in-built support for BatchEditing, the user can update, create or remove multiple items and commit all changes to the data source once .The user can commit multiple modifications by sorting, paging or filtering the grid or simply on a button click.
The BatchEditing action Url should be provided in this mode.
Note: To disable data update during sort/filter/page operations, set the DisableServerRead property of MultiRow's ItemSource to True.This will enable client-side sorting, filtering, paging and data will only be submitted when the collectionView's commit method is explicitly called from client-side.