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.

GridGrouping Caption text

Thread ID:

Created:

Updated:

Platform:

Replies:

47560 Aug 8,2006 08:33 AM Aug 8,2006 08:54 AM Windows Forms 2
loading
Tags: GridControl
Administrator [Syncfusion]
Asked On August 8, 2006 08:33 AM

Hi,

I wanna fill the gridgrouping caption text with a string from my resources file.

So i have got 4 groups, how can I change their GroupCaption name with another string?

Cheers,
Chris

Clive Hill
Replied On August 8, 2006 08:49 AM

Try:

GGC.ChildGroupOptions.CaptionText =

Administrator [Syncfusion]
Replied On August 8, 2006 08:54 AM

Hi Chris,

The Group CaptionText can be customized using the TableDescriptor.ChildGroupOptions.CaptionText property (gridGroupingGrid.TableDescriptor.ChildGroupOptions.CaptionText = "{CategoryName}: {Category}";).
The QueryCellStyleInfo event can also be handled to have your own text, there check for the e.TableCellIdentity.TableCellType to be GroupCaptionCell and set the text. Kindly refer to the forum thread below for more details.

http://www.syncfusion.com/Support/Forums/message.aspx?MessageID=11530
http://www.syncfusion.com/Support/Forums/message.aspx?MessageID=34184

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.

;