I am using the WHDG with column grouping enabled and it appears the grouped columns caption doesn't match the column caption in the grid. Is this by design or am I overlooking how you can override the caption on the Grouped Column. Example: The grid contains a column CustNum which has a header caption of Customer. When this column is grouped the Group Header is showing CustNum instead of Customer like the grid shows.
Hi,
I had a chance to look at this today. It turns out that we actually DO use the header text. But we take it from the Band.Columns collection. In the sample you attached, you do not add the column to the WebHierarchicalDataGrid.Columns collection (the Band for the GridView), so since we cannot find it, we use the Key of the Grouped Column. We have to do this b/c a grid for a child band may not exist when the group by area is being rendered. So simply move the column adding to the WHDG and you should be ok.
regards,
Dave
I have submitted this internally as bug 61103. If you contact Developer Support, they can attach your case to this bug so that you are notified when it is fixed. In the mean time, the fix I can suggest is to have your header text be the same as the key.
thanks,
David,
Thanks for the quick response, I have attached a very small test page as an example. If you group on Author Identification it will show as authID instead in the group header.
Hi lease3c,
Could you attach a small sample showing this problem?
David Young