Hi
Amanda,
Thank you for reaching out to
us.
Query:” My problem is that when
I try to delete an item from the list then the list is cleared and every item
is deleted.”
After reviewing the provided
sample, it seems that you have used the same name for the primary column
multiple times, which is causing the problem of deleting all items from the
list. To resolve this, we recommend using the primary key column for unique values.
You can do this by setting the IsPrimaryKey property to true for a
particular column whose value is unique. Please refer to the attached
documentation for more information.
Note:
Editing feature requires a primary key
column for CRUD operations.
To define the primary key, set IsPrimaryKey to true in
a particular column whose value is unique.
|
Documentation: https://blazor.syncfusion.com/documentation/datagrid/editing
Regards,
Prathap S