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

[Solved] Expand/collapse all when using grouping

2 Answers 197 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Elton
Top achievements
Rank 1
Elton asked on 12 Mar 2008, 01:31 AM
Hello,

I m using grouping for the grid.

What i m gonna archieve is using javascript to expand/collapse all rows.

I know how to do this on server side (on docs). but have no idea on client side.(how can i get & control group headers??)

pls help!

Cheers,
Ellton

2 Answers, 1 is accepted

Sort by
0
Elton
Top achievements
Rank 1
answered on 12 Mar 2008, 11:01 PM
Well~~ I think, the worst case could be go through all plus/minus sign from javascript and expand/collapse (hide and show divs?!) all of them.
this is silly but should work.

Just wonder if you have better solution for this?

Thanx

Elton
0
Steve
Telerik team
answered on 13 Mar 2008, 03:03 PM
Hello Elton,

Take a look at the following KB articles which explain how to do this for the Classic Grid:

You can use the Prometheus Grid help to change the client-side methods and properties as advised.

Let us know if further help is needed.

All the best,
Steve
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
Tags
Grid
Asked by
Elton
Top achievements
Rank 1
Answers by
Elton
Top achievements
Rank 1
Steve
Telerik team
Share this question
or