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.

Column refresh

Thread ID:





75701 Aug 6,2008 04:15 PM Aug 7,2008 09:27 AM Windows Forms 2
Tags: GridControl
Stephane _
Asked On August 6, 2008 04:15 PM


When a specific event is handle in my app, only one column in a grid (GridControl) needs to be refreshed.

At the moment I'm using Me.Refresh() to refresh the full grid but it's just a bit too slow.

I do handle the QueryCellInfo and I'm aware that this might need optimization. But I was wondering if it's possible to refresh only a single column in a grid instead of the full grid.


Nirmal Raja [Syncfusion]
Replied On August 7, 2008 01:19 AM

Hi Stephane,

Thank you for your interest in Syncfusion product.

The GridControl has a method called RefreshRange() which is used to refresh a range of cell.
The range should be given using GridRangeInfo class and the colindex which has to be refreshed has to be given in the method col() of GridRangeInfo.

Please refer the below code snippet for detail:
int colindex = this.gridControl1.CurrentCell.ColIndex;

Let me know if you have any queries.


Stephane _
Replied On August 7, 2008 09:27 AM

Can’t believe I didn’t see it, looks obvious this way.

It’s working great and the refresh is pretty fast.



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.