Hi Matias,
Greetings from Syncfusion support.
Query: “When i delete the first one there is no problem but when deleting the second one, the row is deleted but still appears in the data grid.”
We have analyzed the reported issue by preparing a sample using DataGrid and bound data using EF core. Also we have handled the CRUD operation using the GridEvents (OnActionBegin). We are not able to reproduce the reported issue at our end while deleting records in Grid using built in CRUD actions . Kindly download the sample from below
Note: to bind the EF data, kindly change the connectionstring in DataContext.cs file based on the Northwnd.mdf file from App_Data folder
After referring the sample if you are still facing the issue, kindly get back to us with following details.
- Grid code example.
- Syncfusion.Blazor Nuget package version details.
- If possible try to reproduce the reported issue in provided sample and revert back to us.
Above requested details will be helpful for us to validate the reported issue at our end and provide solution as early as possible.
Query: “Apart from this i wanted to know how to make an excel file for all the data grid or only for one of the rows in the table.”
Grid data can be exported to Excel format using excel export feature of Grid. AllowExcelExport and ExcelExport() method of Grid is used to export all the Grid data to excel file. we have already documented your requirement in our UG documentation. Kindly refer the below documentation link for your reference
Please get back to us if you have further queries.
Regards,
Vignesh Natarajan