I want to use my own 1 button named "Ok" instead of the Update button available on the grid. How does it automatically call the "OnBatchSave" event when it clicks the "OnBatchSave" event to save changes in batch editing mode?
MSMonisha Saravanan Syncfusion Team April 21, 2023 07:36 AM UTC
Greetings from Syncfusion support.
Query: “I want to use my own 1 button named
"Ok" instead of the Update button available on the grid. ”
We would like to inform that in DataGrid we have support to
customize the inbuilt toolbar buttons. Kindly refer the below attached documentation
for your reference. Here we have customized the default toolbar text. Similarly
we suggest you to customize your toolbar button text as per you requirement.
Additionally if you like to render an custom button then we
would like to inform that we have EndEditAsync method in DataGrid which will update
the changed records in DataGrid and also it will trigger OnBatchSave event as
per your requirement.