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. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Performance issues when adding new record to grid widget.

Thread ID:





124032 May 10,2016 03:46 PM UTC May 11,2016 12:21 PM UTC JavaScript 1
Tags: ejGrid
Asked On May 10, 2016 03:46 PM UTC

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 ?



Seeni Sakthi Kumar Seeni Raj [Syncfusion]
Replied On 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. 


This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon