Available in the Full Version

Grid > Basic Editing

This sample is designed for a larger screen size.

On mobile, try rotating your screen, view full size, or email to another device.

In this sample the igGrid Updating feature communicates with the Grid MVC Helper wrapper to persist the changes on the server. The igGrid Updating feature uses transactions to log any changes made to the grid. These transactions are kept locally in the browser until the igGrid.saveChanges API method is called to send a POST request to the Url indicated by the igGrid.updateUrl option. On the server these transaction should be parsed and processed and the Grid MVC Helper wrapper greatly simplifies this task. The OrdersSaveData controller method uses a GridModel.LoadTransactions<T>(string postdata) to deserialize the changes from the grid and processes them. Use the grid to add, edit or delete single or multiple records. Press the "Save Changes" to send the changes on the server with an Ajax call.

Code View

Copy to Clipboard