Hi Luis Guerrero,
Thanks for contacting Syncfusion support.
If you are using local data binding, then you can delete all the
Grid rows by using the checkbox selection and Persist Selection in the Grid. So,
you can select all the records by clicking the header checkbox and calling the “deleteRecord”
method will delete the selected rows. Please refer to the below demo link for
more information.
https://ej2.syncfusion.com/javascript/demos/#/bootstrap5/grid/checkbox-selection.html
Or if you want to remove all the rows without deleting action,
then you can set the “grid.dataSource” as an empty array.
Please get back to us if you need further assistance on this.
Regards,
Pavithra S