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.

GridDataControl Refresh method

Thread ID:

Created:

Updated:

Platform:

Replies:

110361 Jul 31,2013 05:30 AM Jan 14,2015 01:37 AM WPF 3
loading
Tags: GridControl
ahmed
Asked On July 31, 2013 05:30 AM

I was wondering if there is any possible way or method to use in order to refresh a GridDataControl.

Thanks for your help

Saravanan M [Syncfusion]
Replied On September 3, 2013 08:53 AM

Hi Ahmed,

We regret for the delay,

We have analyzed your query .could you please share more details related to this query with us and its very  helpful for us to understand your requirement clearly and update the response?.

Query1:

In which scenario do you want to refresh the GridDataControl?.

However you can refresh the GridDataControl by calling Refresh() method.

this.syncgrid.Model.View.Refresh();

 

And you can also refresh the table by calling Invalidate() method.

this.syncgrid.Model.InvalidateCell(GridRangeInfo.Table());

 

 

Please let us know if you have any queries.

 

Regards,

 

Saravanan.M


vincent
Replied On January 11, 2015 09:58 PM

Hi Saravanan M,

Currently, we use GridDataControl with filter functionality, however, when there's horizontal scroll bar in the data grid, and you remove it forth and back, lots of weird things related to filter functionality happened. (See attachment.)
I thought this is caused by partial refresh, I mean in our code, we use GridDataControl.Model.View.Refresh() to refresh the datagrid, but it will not refresh filter window and scroll bar.
So, Is there a method for refresh all of the control in the datagrid?


Attachment: 1_d9c78088.zip

Saravanan M [Syncfusion]
Replied On January 14, 2015 01:37 AM

Hi Vincent,

Please refer the Forum 117940 for further updates regarding this query.

Regards,

Saravanan.M



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.

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.

;