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. Image for the cookie policy date

GridGrouping Caption text

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

2 Replies

CH Clive Hill August 8, 2006 12:49 PM UTC

Try:

GGC.ChildGroupOptions.CaptionText =


AD Administrator Syncfusion Team August 8, 2006 12:54 PM UTC

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

Loader.
Live Chat Icon For mobile
Up arrow icon