This is a migrated thread and some comments may be shown as answers.

How can I get rid of the colon when grouping

2 Answers 61 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Kori
Top achievements
Rank 2
Kori asked on 11 Nov 2009, 05:08 PM
Hi,

I'm trying to display a grid that groups by a field called SubCat and I would like it to only display the SubCat field alone. My groupByExpression is "SubCat [ ] Group By SubCat"

Which gives me something like:

: Category 1
: Category 2

when I would optimally want:

Category 1
Category 2

Any way I can go about getting this result? I've tried the following GroupByExpression's:
Group By SubCat
[SubCat] Group By SubCat
[ ] Group By SubCat

2 Answers, 1 is accepted

Sort by
0
Accepted
Schlurk
Top achievements
Rank 2
answered on 11 Nov 2009, 08:41 PM
If you follow the steps outlined in the Customizing GridGroupHeaderItem documentation article you can get rid of the colons (and you can basically have it display anything).
0
Kori
Top achievements
Rank 2
answered on 11 Nov 2009, 09:16 PM
Thanks!

That was exactly what I needed to do.
Tags
Grid
Asked by
Kori
Top achievements
Rank 2
Answers by
Schlurk
Top achievements
Rank 2
Kori
Top achievements
Rank 2
Share this question
or