-
Bug
-
Resolution: Fixed
-
Normal
-
Freshly, 9.0.0
-
Security Level: Jimmy
-
None
Steps to Reproduce
<zk> <grid width="600px"> <!-- <custom-attributes org.zkoss.zul.css.flex="false"/>--> <columns menupopup="auto"> <column label="Col-1" width="100px" visible="false"/> <column label="Col-2" hflex="1"/> <column label="Col-3" hflex="1"/> <column label="Col-4" hflex="1"/> <column label="Col-5" width="100px"/> </columns> <rows> <row> <label value="cell-1"/> <label value="cell-2"/> <label value="cell-3"/> <label value="cell-4"/> <label value="cell-5"/> </row> </rows> </grid> </zk>
column is initially hidden (or hidden dynamically e.g. via column header menu)
Current Result
cell contents for hidden columns become invisible -> OK
column headers (non flex with static width) remain visible -> ERROR
Expected Result
both headers and cells should hide when setting column visiblitity
Debug Information
columns with hflex=1 hide as expected
Workaround
disable css-flex, commented out in the example above
- relates to
-
ZK-317 Support CSS3 flex that allows developer to specify the flexibility easier and more flexible
- Closed