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

[Solved] GridViewToggleRowDetailsColumn issue

3 Answers 140 Views
GridView
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Suraj Batra
Top achievements
Rank 1
Suraj Batra asked on 17 Dec 2009, 02:05 PM
The first column in my grid is "GridViewToggleRowDetailsColumn". I want to expand the row programmitically and also want to change the "+" sign to "-" (that too programmitically).
How can I achieve this.

3 Answers, 1 is accepted

Sort by
0
Accepted
Vlad
Telerik team
answered on 17 Dec 2009, 02:24 PM
Hi,

 You can get desired row using ItemContainerGenerator similar to this demo and set DetailsVisibility to desired value.


Greetings,
Vlad
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
0
Suraj Batra
Top achievements
Rank 1
answered on 18 Dec 2009, 05:54 AM
Thanks for the reply.
0
Vlad
Telerik team
answered on 18 Dec 2009, 07:16 AM
Hello,

 You do not need to trigger click event programmatically. Just get desired row and set DetailsVisibility - the button in GridViewToggleRowDetailsColumn will react immediately.


All the best,
Vlad
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Tags
GridView
Asked by
Suraj Batra
Top achievements
Rank 1
Answers by
Vlad
Telerik team
Suraj Batra
Top achievements
Rank 1
Share this question
or