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

[Solved] Expand/Collapse all on grouped items grid

3 Answers 164 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Bryan Strader
Top achievements
Rank 2
Bryan Strader asked on 02 Nov 2009, 09:55 PM
Hello - I have seen numerous posts on this, but they all vary in technique and date. What is the current best approach to expand/collapse all items in a grouped grid? I would like to do this client side, using the expanded property if possible rather than having the client side script "click" the icons in the first column. Please provide an up-to-date example if possible.

Thanks ahead of time for the help.

3 Answers, 1 is accepted

Sort by
0
Shinu
Top achievements
Rank 2
answered on 03 Nov 2009, 06:10 AM
Hi,

I hope the following code library will be of help:
Expand/collapse grouped grid client-side on external control click

-Shinu.
0
Bryan Strader
Top achievements
Rank 2
answered on 03 Nov 2009, 04:09 PM
Thanks for the response Shinu. However in trying to use this I am getting an error on Rows.length is null or not an object....?
0
Bryan Strader
Top achievements
Rank 2
answered on 03 Nov 2009, 09:17 PM
I got it working following the method in another post more specific to RadGrid. I had to use the _toggleGroupsExpand function.

Thanks!

Tags
Grid
Asked by
Bryan Strader
Top achievements
Rank 2
Answers by
Shinu
Top achievements
Rank 2
Bryan Strader
Top achievements
Rank 2
Share this question
or