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

[Solved] how to collapse grid groups rows

2 Answers 132 Views
Grid
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
mahmoud
Top achievements
Rank 1
mahmoud asked on 02 Jun 2011, 12:08 PM
Dear friends,
I have a grid (completely server-side) which is grouped by one column. This grid renders normally but I want the group rows to be collapsed at load time but I couldn't find any server property/function or client side either. can anyone help me on this?
Thanks in advance

2 Answers, 1 is accepted

Sort by
0
Atanas Korchev
Telerik team
answered on 02 Jun 2011, 12:39 PM
Hi mahmoud,

 You can try this:

var grid = $("#Grid").data("tGrid");
 
$("#Grid .t-grouping-row").each(function(){
  grid.expandGroup(this);
});


Regards,

Atanas Korchev
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
0
mahmoud
Top achievements
Rank 1
answered on 03 Jun 2011, 11:45 PM
Really Thanks!...It solved my problem :-) wish the best for your team
Tags
Grid
Asked by
mahmoud
Top achievements
Rank 1
Answers by
Atanas Korchev
Telerik team
mahmoud
Top achievements
Rank 1
Share this question
or