I have an example where the UpdateAsync is not called on DataAdaptor on Grid in Blazor.

Hi,


I have an example where the UpdateAsync is not called on DataAdaptor on Grid in Blazor.

See file attached,

Could we solve it to see why is not called?


Attachment: UXTier.DDD.WebUi.Admin_c0042bb.zip

1 Reply

JP Jeevakanth Palaniappan Syncfusion Team October 21, 2021 07:34 AM UTC

Hi Vasile, 

Greetings from Syncfusion support. 

We have checked your code and found that you have not set IsPrimaryKey property for any of the grid columns. To perform CRUD operation, you have to set IsPrimaryKey as true for any unique column. Please refer the below code snippet, sample and the documentation for your reference. 


Documentation: 
 

    <GridColumns> 
        <GridColumn Field=@nameof(CarrierGroupView.Uuid) IsPrimaryKey="true" HeaderText="Uuid" AllowAdding="false" AllowEditing="false"></GridColumn> 
    </GridColumns> 

Get back to us if you have any other queries. 

Regards, 
Jeevakanth SP. 


Loader.
Up arrow icon