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

can show/hide RowDetails at runtime?

1 Answer 18 Views
GridView
This is a migrated thread and some comments may be shown as answers.
reza
Top achievements
Rank 1
reza asked on 05 May 2014, 10:08 AM
Hi All,
I want ot use Row Details feature of RadGridView, but I need to show or hide this section upon value of one of the row's cell (during data entry) or value of a property of bound object (at startup); is there any way?

Thanks

1 Answer, 1 is accepted

Sort by
0
Accepted
Ivan Petrov
Telerik team
answered on 08 May 2014, 01:07 PM
Hi Reza,

Thank you for contacting us.  

I would first like to apology for the late response. The reason for the delay was that while creating the attached example project I found an issue in our example which I had to find a fix for before I can modify and give to you.

In the aforementioned project you will find a modified version of the Row Details example from our Demo application. This project demonstrates how you can build a grid where the visibility of the details section depends on a value inside a grid column. In the particular case the check box column of the grid. When a cell has a value of true (the check box is checked) the row this cell is contained in will display the details cell. 
 
I hope the example will be useful. Should you have further questions, I would be glad to help.

Regards,
Ivan Petrov
Telerik
 
Check out Telerik Analytics, the service which allows developers to discover app usage patterns, analyze user data, log exceptions, solve problems and profile application performance at run time. Watch the videos and start improving your app based on facts, not hunches.
 
Tags
GridView
Asked by
reza
Top achievements
Rank 1
Answers by
Ivan Petrov
Telerik team
Share this question
or