The Syncfusion® native Blazor components library offers 70+ UI and Data Viz web controls that are responsive and lightweight for building modern web apps.
.NET PDF framework is a high-performance and comprehensive library used to create, read, merge, split, secure, edit, view, and review PDF files in C#/VB.NET.
PSPavithra Subramaniyam Syncfusion Team January 5, 2022 06:33 AM UTC
Hi Jenson,
Thanks for contacting Syncfusion support.
To achieve your requirement, we suggest you use the “setRowData” method which will update the row data and refresh the row. Please refer to the below API
Thanks for the reply, it solves my problem. But I still have a question:
In grid's API doc, I find a method called getPrimaryKeyFieldNames, so how to call setRowData if my grid has multiple primary key fields.
PSPavithra Subramaniyam Syncfusion Team January 6, 2022 09:15 AM UTC
Hi Jenson,
It is great to hear that the provided solution solved your problem!
The “getPrimaryKeyFieldNames” method returns all primary key column names in an array format and by default the Grid will consider the first column of this array for update action. So, we suggest you pass the “getPrimaryKeyFieldNames()[0]” value to the “setRowData” method.
Regards,
Pavithra S
Need More Help?
Get personalized assistance from our support team.