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.

Invalidating GridGroupingControl

Thread ID:

Created:

Updated:

Platform:

Replies:

46519 Jul 13,2006 10:47 PM Jul 14,2006 08:49 AM Windows Forms 2
loading
Tags: GridControl
Bill Langlais
Asked On July 13, 2006 10:47 PM

I have a grid grouping control where I have a delegate for the TableControlDrawCellDisplayText event. How do I force the grid to repaint when I need to change the value the delegate uses to calculate the Cell DisplayText? I tried the GridGroupingControl1->Invalidate but this did not work.

Administrator [Syncfusion]
Replied On July 14, 2006 04:00 AM

Hi Bill, Can you please try calling the Invalidate method of the TableControl or the InvalidateRange method of the TableModel. this.gridGroupingControl1.TableControl.Invalidate(); this.gridGroupingControl1.TableModel.InvalidateRange(GridRangeInfo.Table(), GridRangeOptions.None); Let me know if this helps. Thanks, Rajagopal

Administrator [Syncfusion]
Replied On July 14, 2006 08:49 AM

Hi, this.gridGroupingControl1.TableControl.Invalidate(); Did the trick! Thanks! >Hi Bill, > >Can you please try calling the Invalidate method of the TableControl or the InvalidateRange method of the TableModel. > >this.gridGroupingControl1.TableControl.Invalidate(); >this.gridGroupingControl1.TableModel.InvalidateRange(GridRangeInfo.Table(), GridRangeOptions.None); > >Let me know if this helps. >Thanks, >Rajagopal >

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.

;