-
FEATURED COMPONENTS
First time here? Check out the FAQ!
Hi,
I'm not sure if it's a bug or it's the way it works, but if I manually change the tree column width when the Panel 1 is maximized, the column width don't adjust anymore to the panel width when the panel is "unmaximized".
Is there any way to say to the tree (capturing the ON_MAXIMIZE event if necesary) to ignore the column width change and reset it again to make use of all "hflex=1" attribute on all columns and on the tree itself, in order to occupy 100% of its container? I mean when I return the panel to the not maximized position.
Sample here: http://zkfiddle.org/sample/2r6ravm/9-Tree-don-t-expands-after-column-resize
Thanks in advance,
Vicente
You can try clear width of tree cols while onMaximize,
e.g.,
onMaximize='myinclude.getFellow("c0A").setWidth(""); myinclude.getFellow("c1A").setWidth(""); myinclude.getFellow("c2A").setWidth("");'
Asked: 2013-04-19 10:45:16 +0800
Seen: 13 times
Last updated: Jun 28 '13