Threaded View
-
30 Nov 2011 12:24 AM #1
[2.2.5] Grid column resizing behavior is erratic and not reliable
[2.2.5] Grid column resizing behavior is erratic and not reliable
[2.2.3] is the correct used version
Hi there,
the default setting for grid column resizing behavior is true. So it should be possible to resize columns in the rows AND in the header without doing anything special coding (Note that I disabled header menus).
Unfortunately I had to go through all ColumnConfigs of my grid to make resizing work for the rows. However, resizing columns in the header initially does not work.
Only if I resize a column in the rows, the resize splitter shows up in the header too.
I looked through the code and saw that there are a lot checks done whether the view or the header is ready or attached. Thus, I thought I do this
and/orCode:getView().refresh( true );
after the view is rendered.Code:getView().getHeader().refresh();
I saw via debugger that by doing this the GridSplitBar of the header is finally attached via
However, column resizing in the header is still not possible initially.Code:ComponentHelper.doAttach(bar);
In general, the behavior of the resizing splitter is very erratic. Sometimes, it shows up, then it is not visible at all, when hovering over the appropriate place.Last edited by altmayer; 30 Nov 2011 at 12:27 AM. Reason: forgot some info
Thank you for reporting this bug. We will make it our priority to review this report.


Reply With Quote