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 ?
SSSeeni Sakthi Kumar Seeni Raj Syncfusion Team May 11, 2016 12:21 PM UTC
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.