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

Default value for group row

6 Answers 61 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Marcin
Top achievements
Rank 1
Marcin asked on 26 Apr 2010, 08:12 AM
Hi.
Is it possible change default value for group row? On the true/false column I don't want have true/false value, but only this...

6 Answers, 1 is accepted

Sort by
0
Vlad
Telerik team
answered on 26 Apr 2010, 08:18 AM
Hi Marcin,

You can use GroupHeaderTemplate property of the grid columns to customize this similar to our demo.

All the best,
Vlad
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.
0
Marcin
Top achievements
Rank 1
answered on 26 Apr 2010, 08:49 AM
Hi Vlad.

Thanks for your replay, but we didn't understand ourselves. I didn't want customize this element. I want change this two words: True -> Active, False -> Nonactive. 
0
Vlad
Telerik team
answered on 26 Apr 2010, 09:09 AM
Hi Marcin,

If you place an TextBlock in this template and bind Text property to the Group.Key with your own "BooleanToActive" IValueConverter you will able to achieve your goal.

Kind regards,
Vlad
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.
0
Marcin
Top achievements
Rank 1
answered on 26 Apr 2010, 10:14 AM
Can I ask about small demo?
Thanks :)
0
Accepted
Vlad
Telerik team
answered on 26 Apr 2010, 10:26 AM
Hi,

You can check the attached project for reference.

Sincerely yours,
Vlad
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.
0
Marcin
Top achievements
Rank 1
answered on 26 Apr 2010, 10:44 AM
Thank you.

All the best,
Marcin


Tags
GridView
Asked by
Marcin
Top achievements
Rank 1
Answers by
Vlad
Telerik team
Marcin
Top achievements
Rank 1
Share this question
or