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. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Grouped column text

Thread ID:

Created:

Updated:

Platform:

Replies:

13593 May 3,2004 07:05 PM UTC May 3,2004 09:50 PM UTC WinForms 1
loading
Tags: Grouping
Sean Greer
Asked On May 3, 2004 07:05 PM UTC

When I group by a column the group cell text is the column name (mappingname) rather than the header text. What''s up with that? Also, the column in question is a combobox and I would like the text in the group cell to use the display value from the combobox datasource rather than the column value. That is, rather than showing "TaskSource: 2 - 2 Items", I''d like it to show "Source: Planning - 2 Items". Any thoughts on how I accomplish this? BTW, here is how I''m setting up the column descriptor: GridColumnDescriptor gcd = new GridColumnDescriptor(); gcd.MappingName = "TaskSource"; gcd.HeaderText = "Source"; gcd.Appearance.AnyCell.CellType = "ComboBox"; gcd.Appearance.AnyCell.ShowButtons = GridShowButtons.Hide; gcd.Appearance.AnyCell.ExclusiveChoiceList = true; gcd.Appearance.AnyCell.DataSource = alSourceCodes; gcd.Appearance.AnyCell.DisplayMember = "Description" gcd.Appearance.AnyCell.ValueMember = "CodeID"

Administrator [Syncfusion]
Replied On May 3, 2004 09:50 PM UTC

Here is a forum thread that shows how you can use QueryCellStyleInfo to customize the caption text. http://www.syncfusion.com/Support/Forums/message.aspx?MessageID=11530

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.

Warning Icon 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.Close Icon

;