We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date
close icon

Performance issues when adding new record to grid widget.

I have performance issues when adding new record to grid widget.
when adding new record using the addRecord function, I can see its taking by average 90 ms to add the new record, this is very long time.
Is there a faster way to add records to the grid ?
why is it taking so long ?



1 Reply

SS Seeni Sakthi Kumar Seeni Raj Syncfusion Team May 11, 2016 12:21 PM UTC

Hi Tzelon 

Thanks for using Syncfusion Product. 

The public method addRecord will perform the following action.  

It will add a new row to the DOM and it will push a newly added record to the datasource bound to the Grid. If the Grid has already performed any action like sorting, grouping, and filtering, the Grid will perform the same action after adding a new record to the Grid which the behavior. Since the datasource collection will be modified after adding a new record, we have to perform the actions that were done earlier. So it will take a least time of 90ms to perform these actions while adding a new record using the addRecord method.  

Seeni Sakthi Kumar S. 

Live Chat Icon For mobile
Up arrow icon