I'm not quite understand the issue with StationaryHeader/Footer
In sort example there is stationary header. In databind example there is not.
The only dfference between those samples is grid height defined in case of sort.
Is it the case? When I define grid height it starts to freeze header?
Thanks
Hi Anatoly,
The grid will always use a stationary Header/Footer. If you don't set a height on the grid, it will simply display as large as it's container will allow, meaning no scrollbars and no overflow. In a case where you don't set a height on the grid, the container (or html body) will end up providing scrolling behavior, which then makes it appear as though the grid does not have stationary headers.
So in short, if you want stationary headers, you must have a grid height set.
>The grid will always use a stationary Header/Footer
Does it mean that grid always will be rendered in fixed layout? No flow layout?
Thanks.
Hello Anatoly,
By flow layout you mean the size of the columns/cells is defined by the data content? Yes we do keep in mind this scenario. As so many customers were trying to do so to no avail. The new grid will difinitely be stretching to the data content, have no doubt about that, unless you specifically set the column and/or row sizes and the text won't fit into the boundaries.
Yes, that functionality is available in 8.1 CTP. The grid tries to space out its columns/rows according to the cell text. Even though there is no column resizing available, current functionality is what we are most likely are going to keep moving forward.
Has this been completed yet? If so what version can i see it in? I have been waiting 4 years for this, life will be good...
This is such great news. Thank you.
That was true for the UltraWebGrid. However since we are creating the new grid from scratch it is a good time to try to achieve unachievable :-). Yes we are making an effort to provide that behavior to our custmers. It is not easy I've got to admit, we already have our QA reporting bugs against it. But I believe it is possible through fine tuned JavaScript and the right combination of layout attributes.
Hopefully you will see it working just fine by the next CTP release.
You confuse me a little.
If grid will be always in stationary header/footer mode it's mean that grid must be rendered with fixed layout (At least that was true about UltraWebGrid).
Or you says that you finally can make stationary header without fixed layout?