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

[Solved] Show group footer when group is collapsed.

3 Answers 105 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.
James
Top achievements
Rank 1
James asked on 13 Jan 2012, 11:32 PM
I have a current need to keep the grouping footer row shown when a group is collapsed.  All my attempts to do so via jQuery after the page has been loaded have not been successful, and this is a pretty key feature for what we want to use the grid for.  If anyone has done this or knows how, I would be greatly appreciative.  I even tried tracking the event down in the Javascript files and preventing the group footer row from not hiding, but that didn't work either.  Thanks.

3 Answers, 1 is accepted

Sort by
0
Accepted
Dimo
Telerik team
answered on 17 Jan 2012, 10:21 AM
Hi James,

You can enforce group footers to be always visible with CSS:

#GridID .t-group-footer
{
       display: table-row !important;
}
  
/* IE7 */
*+html #GridID .t-group-footer
{
       display: block !important;
}


Using the #GridID will help you target the above CSS styles to a specific Grid instance only.

Greetings,
Dimo
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the Telerik Extensions for ASP.MET MVC, subscribe to their blog feed now
0
James
Top achievements
Rank 1
answered on 17 Jan 2012, 03:36 PM
Worked like a charm, thanks Dimo!  Can't believe I didn't think of that, I tried just about everything else.  ;)
0
Pratap
Top achievements
Rank 1
answered on 14 Jun 2012, 01:05 PM
#GridID .t-group-footer
{
display: table-row !important;
}


This code is not working for me. I wrote this in cshtml page and i am using IE9. Could you please provide me some more details.

-Pratap Ch.
Tags
Grid
Asked by
James
Top achievements
Rank 1
Answers by
Dimo
Telerik team
James
Top achievements
Rank 1
Pratap
Top achievements
Rank 1
Share this question
or