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

expand Row Details from code

2 Answers 126 Views
GridView
This is a migrated thread and some comments may be shown as answers.
aviv ron
Top achievements
Rank 1
aviv ron asked on 29 Jun 2010, 02:20 PM
i would like to expand the row details (GridViewToggleRowDetailsColumn) from code when the user clicks the row.
how can i do that?

2 Answers, 1 is accepted

Sort by
0
Accepted
Rossen Hristov
Telerik team
answered on 29 Jun 2010, 02:29 PM
Hello aviv ron,

You can play with the DetailsVisibility property of the GridViewRow class. But what you want seems to be one of the default modes of RadGridView called VisibleWhenSelected. You can remove the toggle column and set RadGridView's RowDetailsVisibility to VisibleWhenSelected. To lean more about the different modes, please take a look at this topic and this topic.

Best wishes,
Ross
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
aviv ron
Top achievements
Rank 1
answered on 01 Jul 2010, 11:42 AM
VisibleWhenSelected did the trick. thanks Ross!
Tags
GridView
Asked by
aviv ron
Top achievements
Rank 1
Answers by
Rossen Hristov
Telerik team
aviv ron
Top achievements
Rank 1
Share this question
or