Hi Kins,
Greetings from Syncfusion support.
We suggest you to specify the row index as parameter for the AddRecordAsync method to add the new row at a particular row index. Please refer the codes below,
|
public async Task OnClick()
{
...
await Grid.AddRecordAsync(newdata, 0); //specify the correspodning row index
}
|
Please refer and use the above suggestion. If you are facing any difficulties or if we have misunderstood your requirement, then kindly get back to us with a detailed explanation of your requirement/scenario of how you are adding data to Grid along with a simple replication sample based on your scenario to proceed further.
Regards,
Renjith R