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

How to hide the ClientFooterTemplate,I already have ClientGroupFooterTemplate and want to make ClientFooterTemplate hide?

4 Answers 1451 Views
Grid
This is a migrated thread and some comments may be shown as answers.
PEIYANG
Top achievements
Rank 1
PEIYANG asked on 16 Apr 2013, 04:37 PM
 How to hide the ClientFooterTemplate,I already have ClientGroupFooterTemplate and want to make ClientFooterTemplate hide? Although I  set nothing about ClientFooterTemplate,It still have a lot of blank in the footer of the grid!

4 Answers, 1 is accepted

Sort by
0
Accepted
Iliana Dyankova
Telerik team
answered on 18 Apr 2013, 08:17 AM
Hello PEIYANG,

In order to hide the Grid's ClientFooterTemplate you can use the following CSS rule: 
<style>
.k-grid-footer{
    display: none;
}
</style>

Regards,

Iliana Nikolova
the Telerik team
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
0
SEAN
Top achievements
Rank 1
answered on 12 Oct 2013, 04:04 PM
Iliana, I want to hide the grid footer too and I tried using the CSS you gave and it does hide the footer, but now I have a large blank space below the page footer, I really need to be able to turn off the footer entirely. See the attached images for what I'm seeing. I don't see why the grid would add a footer and have no way to turn it off, adding aggregates to the DataSource is a data action and the UI should not change based on the DataSource in a way that I have no control over.

How can I have the grid display exactly the same after I add aggregates to the DataSource?
0
Iliana Dyankova
Telerik team
answered on 15 Oct 2013, 11:53 AM
Hi Sean,

I am not quite sure what causes the issue in your application - I tested the suggested solution and everything is rendered as expected (jsBin example). Is it possible to provide a small runnable (or modify my jsBin) example which demonstrates your current implementation? This way I would be able to advice you further and provide concrete recommendations. Thank you in advance for your time and cooperation.

Regards,
Iliana Nikolova
Telerik
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
0
SEAN
Top achievements
Rank 1
answered on 18 Oct 2013, 01:51 AM
I'm dynamically resizing the grid so I needed to resize the grid table after the grid binds to fill the space left by the footer. I'm doing that in the DataBound event and it seems to be working now.
Tags
Grid
Asked by
PEIYANG
Top achievements
Rank 1
Answers by
Iliana Dyankova
Telerik team
SEAN
Top achievements
Rank 1
Share this question
or