Available in the Full Version
Grid > Basic Editing
This sample uses CTP (Community Technical Preview) features. The API and behavior may change when these features are released with full support.
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.