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

Change group title to GridViewCheckBoxColumn

2 Answers 75 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Gerardo
Top achievements
Rank 1
Gerardo asked on 25 Nov 2011, 09:24 AM
Hi,
  When I group a GridViewCheckBoxColumn. the gridview show groupdescriptor as "true" or "false", i want show "Yes" and "No". How can i change that title?

Thanks

2 Answers, 1 is accepted

Sort by
0
Nick
Telerik team
answered on 25 Nov 2011, 09:45 AM
Hello Gerardo,

You can use a value converter to convert the boolean value to string and use it the way you require.
I am attaching a small example to show how to do it. 

All the best,
Nik
the Telerik team

Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

0
Gerardo
Top achievements
Rank 1
answered on 25 Nov 2011, 12:53 PM
I´m sorry, but i group a  GridViewCheckBoxColumn, not a GridViewDataColumn. I show a checkbox column and when this column wiil group I would show "Yes", "No" instead of "True", "False" in the gridview.
Thanks for your reply.

 

Tags
GridView
Asked by
Gerardo
Top achievements
Rank 1
Answers by
Nick
Telerik team
Gerardo
Top achievements
Rank 1
Share this question
or