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

RadGrid GroupByExpressions

1 Answer 143 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Erwin
Top achievements
Rank 1
Erwin asked on 25 Nov 2008, 03:13 AM
Hi,

Currently, I am using GroupByExpressions in the RadGrid as follows:
<GroupByExpressions>
     <telerik:GridGroupByExpression>
       <SelectFields>
          <telerik:GridGroupByField
            FieldName="UnitPrice"
            HeaderText="Price"/>
          <telerik:GridGroupByField
            FieldName="UnitsInStock"
            HeaderText="Units at this price"
            Aggregate="Sum" />
       </SelectFields>
       <GroupByFields>
          <telerik:GridGroupByField
             FieldName="UnitPrice"
             SortOrder="Descending" />
       </GroupByFields>
     </telerik:GridGroupByExpression>
   </GroupByExpressions>


The result looks like:
My Country: Canada; My Items: 3; Group Total : $55,329.30

I would like to ask if it is possible to separate each item using character other than semicolon (;).


Thanks & Regards,

Erwin








1 Answer, 1 is accepted

Sort by
0
Shinu
Top achievements
Rank 2
answered on 25 Nov 2008, 04:06 AM
Hi Erwin,

Try setting the GroupByFieldsSeparator in the GroupSettings for achieving the desired scenario.

ASPX:
 <GroupingSettings    GroupByFieldsSeparator="::"  /> 



Thanks
Shinu.
Tags
Grid
Asked by
Erwin
Top achievements
Rank 1
Answers by
Shinu
Top achievements
Rank 2
Share this question
or