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.

CoveredRanges

Thread ID:

Created:

Updated:

Platform:

Replies:

10147 Jan 23,2004 04:31 AM Jan 23,2004 05:47 AM Windows Forms 2
loading
Tags: GridControl
Administrator [Syncfusion]
Asked On January 23, 2004 04:31 AM

I am adding two columns, at the end, my grid at runtime .. and want to cover the cells, only on row zero the header, of the two columns. This works fine for the first two columns I add but columns after that the cells are not being covered. Sample Code: Me.GridDataBaseConditions.Model.CoveredRanges.Add(GridRangeInfo.Cells(0I, Me.GridDataBaseConditions.Model.ColCount + 2I, 0I, Me.GridDataBaseConditions.Model.ColCount + 3I)) Thanks, Rob

Administrator [Syncfusion]
Replied On January 23, 2004 04:53 AM

Clay, Figured this one out .... by problem was ColCount was return 0 ... Me.GridDataBaseConditions.GridBoundColumns.Add(gridColumn) ColCount is still zero ... when does grid.Model.ColCount get updated? Rob

Administrator [Syncfusion]
Replied On January 23, 2004 05:47 AM

After adding the columns, try calling grid.Model.ResetVolatileData to make sure any cached values of ColCount are reset.

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.

;