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.
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

How to refresh the Grid after record changes on client-side?

Problem

Adding or removing a record from client-side and refreshing the changes in the Grid content.

Solution

The Grid records can be manually added from the client-side by using the model.dataSource.push function and you can also remove a record by using the model.dataSource.splice function. After adding or removing a record from the Grid data source, the Grid can be refreshed using the refreshContent function.

JS

Screenshot

Figure 1: After adding a record

 

Figure 2: After removing a record

Article ID: Published Date: Last Revised Date: Platform: Control:
4123 02/23/2015 02/23/2015 JavaScript ejGrid
Tags:
Did you find this information helpful?
Comments
Victor Flamenco Dec 02, 2015
Worked perfectly for me. Thanks.
Reply
Marcelo Blank Aug 27, 2017

sdvdvd

Reply
Mani Sankar Durai [Syncfusion] Aug 28, 2017

     Hi Marcelo,

 

      We cannot understand your comment. Please raise a query if you need any further assistance related to this Knowledge Base document.

 

Regards,

Manisankar Durai.

Habeebin Ali Apr 25, 2018

dddd

Reply
Add Comment
You must log in to leave a comment

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