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

[Solved] ShowFooter and Grouping disabled

1 Answer 293 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Noah
Top achievements
Rank 2
Iron
Iron
Iron
Noah asked on 22 Apr 2015, 08:50 PM

I have a data source with groups already configured.  I don't want to the grouping bar at the top of the grid or to allow the user to change the group settings in any way, but I want to use the ShowFooter option to always show the group footers...

I am using the MVC wrappers .

 

.Groupable(g => g.ShowFooter(true).Enabled(true)) //always shows footers but has the grouping bar and user can x out groups even if that column was set to be not groupable

.Groupable(g => g.ShowFooter(true).Enabled(false))  // ShowFooter no longer works

is there a way to keep grouping out of the users' hands but have ShowFooter still work?

1 Answer, 1 is accepted

Sort by
0
Rosen
Telerik team
answered on 24 Apr 2015, 08:34 AM
Hello Noah,

Indeed, the Grid should be set as groupable in order showFooter option to work. However, you could also hide the grouping panel via CSS. For example by placing the following rule on the page:

<style>
    .k-grouping-header
    {
        display: none;
    }
</style>


Regards,
Rosen
Telerik
 
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
 
Tags
Grid
Asked by
Noah
Top achievements
Rank 2
Iron
Iron
Iron
Answers by
Rosen
Telerik team
Share this question
or