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

Boolean FormatString in GroupByExpressions

2 Answers 66 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Saverio
Top achievements
Rank 1
Saverio asked on 06 Sep 2010, 03:49 PM
Hello,

there is a method to set the FormatString in the GroupByEspression to show custom strings for the boolean values?

I have in a Radgrid a GroupByExpressions which is:
                                                       
<telerik:GridGroupByField FieldName="ExpectFlag " FieldAlias="Expect" FormatString="{0:???}" />

I need something similar: {0: (true string, ex Expected) or (false string, ex Not expected)}

Thank you!
                                                   

2 Answers, 1 is accepted

Sort by
0
Saverio
Top achievements
Rank 1
answered on 08 Sep 2010, 07:36 AM
Someone from the Telerik's Staff?
0
Daniel
Telerik team
answered on 09 Sep 2010, 01:46 PM
Hello Saverio,

Unfortunately it is not possible to achieve this functionality using the FormatString property. Instead, you can  change the group header text manually in the ItemDataBound event.

Regards,
Daniel
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Tags
General Discussions
Asked by
Saverio
Top achievements
Rank 1
Answers by
Saverio
Top achievements
Rank 1
Daniel
Telerik team
Share this question
or