简体   繁体   中英

Kendo Grid - resize column causing grid height to be altered.

See the example here: http://dojo.telerik.com/uFuYa/2

When you resize the column header (reduce the width) it's pushing the whole grid downwards. Also when you lower the column header width, then increase it, it reduces the height of the whole grid. Same issue happens when virtual scrolling is disabled. Is there any workaround to stop this happening? The content section (data section) seems to just push the footer down. Even if the footer is fixed, the content section still pushes past it.

It is recommended all Grid rows to be of equal height, so that the virtual scrolling functionality works as expected:

Virtual scrolling - Kendo UI documentation

You can set the CSS white-space property to nowrap for the Grid header and regular cells:

Modified dojo example

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM