ASPxGridBase.BatchUpdate Event
Occurs after an end-user clicks the Update button in batch edit mode and allows you to provide a custom data updating mechanism.
Namespace: DevExpress.Web
Assembly: DevExpress.Web.v24.1.dll
NuGet Package: DevExpress.Web
Declaration
Event Data
The BatchUpdate event's data class is ASPxDataBatchUpdateEventArgs. The following properties provide information specific to this event:
Property | Description |
---|---|
DeleteValues | Returns a list of deleted values. |
Handled | Specifies whether the ASPxGridBase.BatchUpdate event is handled. |
InsertValues | Returns a list of inserted values. |
UpdateValues | Returns a list of updated values. |
Remarks
The batch edit mode allows modifying a batch of grid data on the client side and sending it to the server in one request on clicking the Update button. You can use the BatchUpdate event to provide a custom data update mechanism.
Set the ASPxDataBatchUpdateEventArgs.Handled event argument property to true
to indicate that the BatchUpdate event is handled, and therefore no default processing is required.
The ASPxDataBatchUpdateEventArgs.DeleteValues, ASPxDataBatchUpdateEventArgs.InsertValues, and ASPxDataBatchUpdateEventArgs.UpdateValues properties return lists of deleted, inserted, and updated values respectively.