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. Image for the cookie policy date

GridDataControl Refresh method

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

Thanks for your help

3 Replies

SM Saravanan M Syncfusion Team September 3, 2013 12:53 PM UTC

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



VI vincent January 12, 2015 02:58 AM UTC

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


SM Saravanan M Syncfusion Team January 14, 2015 06:37 AM UTC

Hi Vincent,

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

Regards,

Saravanan.M



Loader.
Up arrow icon