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.

Grouping throwing off column count

Thread ID:

Created:

Updated:

Platform:

Replies:

98894 Apr 6,2011 10:54 AM Apr 11,2011 02:08 AM Windows Forms 1
loading
Tags: Tools
Greg
Asked On April 6, 2011 10:54 AM

I have a GridGroupingControl with a header Section. And in that section I use a covered range to span first 5 columns and display some text. But when I starting grouping my grid using GroupDropArea, the covered ranges get off.

It appears when grouping, it's adding columns behind the scenes. Because when I started printing out ColIndex and ranges, I noticed the count increased by 1 after grouping. See below. Is that by design? And if so, is there a value I can check to say if grouped, offset ranges by X? I.e. if I group by 2 values, my ColIndex is 3 and range goes to R0C3: R0C7.

columnName: Vendor - ColIndex: 1 - Range: R0C1:R0C5
columnName: Vendor - ColIndex: 2 - Range: R0C2:R0C6

Thanks.


Jisha Joy [Syncfusion]
Replied On April 11, 2011 02:08 AM

Hi Greg,

The ColumnIndex will vary depending on the grouping. This is by design. Please let me know if you have any questions.

Regards,
Jisha


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.

;