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

Grid ships with a visual flaw

2 Answers 60 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Gabriel
Top achievements
Rank 1
Gabriel asked on 28 Dec 2011, 03:28 AM
If you take a look at http://demos.kendoui.com/web/grid/toolbar-template.html, you can see the bottom of the grid where the paging controls live that the line on the bottom is absent.

This only happens when using the toolbar in a grid.

Does anyone know how to fix this?

2 Answers, 1 is accepted

Sort by
0
Dimo
Telerik team
answered on 28 Dec 2011, 08:59 AM
Hi Gabriel,

The problem is caused by the DropDownList in the Grid's toolbar - it adjusts its layout after the Grid and expands the toolbar height a little. As a result, the Grid calculations with regard to its scrollable data area are no longer valid.

The easiest workaround is to set a large-enough height (min-height) to the toolbar, so that it does not expand after the DropDownList initialization.

#grid .k-toolbar
{
    min-height: 28px;
}


Regards,
Dimo
the Telerik team
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
0
Gabriel
Top achievements
Rank 1
answered on 28 Dec 2011, 10:19 PM
Thanks Dimo.
Tags
Grid
Asked by
Gabriel
Top achievements
Rank 1
Answers by
Dimo
Telerik team
Gabriel
Top achievements
Rank 1
Share this question
or