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

Grid in Window with misaligned vertical scrollbar after maximize/minimize action

2 Answers 121 Views
Window
This is a migrated thread and some comments may be shown as answers.
Aaron
Top achievements
Rank 1
Aaron asked on 13 Jul 2015, 04:31 PM
I've got a grid that is expanded to be the full width+height of the window content that looks good and fits into the window properly. When maximized it looks good, buty then after clicking minimize button to bring the window back to the original size the grids vertical scroll bar is offset with white space. Please see attached images.

2 Answers, 1 is accepted

Sort by
0
Dimo
Telerik team
answered on 15 Jul 2015, 10:35 AM
Hi Aaron,

I suspect that the Grid calculates the width of its non-frozen data area before the Window's vertical scrollbar disappears. Please use the following CSS rule to disable the Window's scrollbar completely, as it is not needed in this case anyway.

#WindowID
{
   overflow: hidden;
}


Regards,
Dimo
Telerik
 
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
 
0
Aaron
Top achievements
Rank 1
answered on 15 Jul 2015, 04:08 PM
Thank you Dimo, that worked!
Tags
Window
Asked by
Aaron
Top achievements
Rank 1
Answers by
Dimo
Telerik team
Aaron
Top achievements
Rank 1
Share this question
or