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

Only one detail table to be expanded at a given time.

2 Answers 242 Views
Grid
This is a migrated thread and some comments may be shown as answers.
giridhar
Top achievements
Rank 1
giridhar asked on 13 Mar 2009, 11:49 AM
Hi,
   Currently in our project we have a RAD grid with nested view template which contains the detail table with grid. According to our requirement we need to show only one row expanded at time. i.e automatically other row should get collapsed.

Is there a way to keep track of which are the detail tables that are open and then while opening the new detail table, i will try to collapse the other.

Any help would be a great favour.

Thanks and regards,
Giridhar.

2 Answers, 1 is accepted

Sort by
0
Darshan
Top achievements
Rank 1
answered on 13 Mar 2009, 03:26 PM
Hi Giridhar,

Just a thought (haven't tried this myself since I'm still learning the intricacies of the grid) but you could try using the client side API to collapse all the other rows in your client side event handler - this should happen before the server side code you use to populate the details of the row that just expanded.
0
Shinu
Top achievements
Rank 2
answered on 16 Mar 2009, 04:37 AM
Hi Giridhar,

I hope the following help article will help you to achieve the desired requirement.
Single expand in hierarchical grid

Thanks
Shinu
Tags
Grid
Asked by
giridhar
Top achievements
Rank 1
Answers by
Darshan
Top achievements
Rank 1
Shinu
Top achievements
Rank 2
Share this question
or