Apr 08, 2014, 2:14 PM
Prevent GridPanel reload on resize
Hi!
I have a GridPanel inside a Panel which is loaded into a Window. Whenever I change the size of the Window (or min/maximize it), the GridPanel reloads its rows. How could it be prevented?
Here's the markup:
I have a GridPanel inside a Panel which is loaded into a Window. Whenever I change the size of the Window (or min/maximize it), the GridPanel reloads its rows. How could it be prevented?
Here's the markup:
@(X.Viewport()
.Layout(LayoutType.Border)
.Items(
X.Panel()
.Border(true)
.Region(Region.Center)
.Layout(LayoutType.Fit)
.Items(
Html.X().GridPanel()
.Layout(LayoutType.Fit)
Thanks in advance!