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
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Grouped column text

Thread ID:





13593 May 3,2004 07:05 PM UTC May 3,2004 09:50 PM UTC WinForms 1
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


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.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

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

Live Chat Icon For mobile
Live Chat Icon