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

Refresh Grid

Thread ID:

Created:

Updated:

Platform:

Replies:

120910 Jan 10,2013 05:58 PM UTC Oct 27,2015 06:01 AM UTC ASP.NET MVC 5
loading
Tags: Grid
Philip Herzl
Asked On January 10, 2013 05:58 PM UTC

Hi,

I have a similar question like in this post: http://www.syncfusion.com/support/forums/grid-mvc/88506.

My Grid is bound to model which is updated by a ValueChangedEvent from an AutoCompleteBox.

When clicking the small Refreshbutton at bottom of the grid it updates correctly but how can I trigger the update automatically via the (ValueChanged - success callback) AutoCompleteBox?

 

thanks,

Philip

 


Maithiliy K [Syncfusion]
Replied On January 16, 2013 11:59 AM UTC

Hi Philip Herzl,

 

Thanks for your interest in Syncfusion products.

 

Please refer the below code snippet for “how to refresh the data of the grid” when the value of an Autocomplete textbox is changed by using the “ValueChangeEvent” of the Autocomplete textbox.

 

Code snippet:

 

function ValueChanged(sender, args)

{

 

var grid = $find('GridId'); // GridId – Id of the Grid

 

grid.sendRefreshRequest();

 

}

Please try this and let us know if you have any concerns.

Regards,

Maithiliy K



Philip Herzl
Replied On February 16, 2013 05:39 PM UTC

Sorry for the late reply and many thank's for your answer! This solved my Problem.


Bala Murugan A.S [Syncfusion]
Replied On February 19, 2013 08:42 AM UTC

Philip Herzl,

Thank for your update.

Please let us know if you have any further assistance we will be happy to help you.

Thanks for using Syncfusion Products.

Regards,
Bala Murugan A.S

Calissi
Replied On October 26, 2015 10:46 AM UTC

Hi,

This don't work for me. $find is undefined and even if I change it to:

function refreshGridUpdate() {
        var grid = $("#UpdateProdGrid").ejGrid("instance");
        grid.sendRefreshRequest(true);
    }

sendRefreshRequest is undefined.

I'm using latest package in asp.mvc.

Ragavee U S [Syncfusion]
Replied On October 27, 2015 06:01 AM UTC

Hi Calissi,

In our latest ASP.NET MVC platform, we can refresh the grid using the refreshContent method. Please refer to the below API reference documentation for more information on the refreshContent method of the Grid.

API reference link: http://help.syncfusion.com/js/api/ejgrid#methods:refreshcontent

Regards,
Ragavee U S.

CONFIRMATION

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.

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

;