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

Change grouping display text and format

1 Answer 70 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Darren
Top achievements
Rank 1
Darren asked on 15 Feb 2008, 04:52 PM
I have a grouping in my grid and the column is a bit column coming from sql server. Instead of displaying True and False for the values I want to replace them with 'Yes' and 'No'. Is this possible?

Is there also a way to change the string so that I can display :
Test1, HandsOn: Yes

instead of : 
Group: Test1; HandsOn: True

Thanks.

<

telerik:GridGroupByExpression>

<SelectFields>

<telerik:GridGroupByField FieldAlias="ReferenceName" FieldName="ReferenceName" HeaderText="Group">

</telerik:GridGroupByField>

<telerik:GridGroupByField FieldAlias="HandsOn" FieldName="HandsOn" HeaderText="HandsOn">

</telerik:GridGroupByField>

</SelectFields>

<GroupByFields>

<telerik:GridGroupByField FieldName="ReferenceName" SortOrder="Ascending"></telerik:GridGroupByField>

<telerik:GridGroupByField FieldName="HandsOn" SortOrder="Ascending"></telerik:GridGroupByField>

</GroupByFields>

</telerik:GridGroupByExpression>

1 Answer, 1 is accepted

Sort by
0
Ves
Telerik team
answered on 18 Feb 2008, 11:14 AM
Hello Darren,

You can find this task discussed in details in this help article. Hope it helps.

Regards,
Ves
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
Tags
Grid
Asked by
Darren
Top achievements
Rank 1
Answers by
Ves
Telerik team
Share this question
or