-
Bug
-
Resolution: Fixed
-
Normal
-
7.0.3
-
Security Level: Jimmy
-
None
click the button to add columns dynamically and a JS error will occur
the error occurs in both cases
<listbox span="true"
<listbox span="false"
without span the hflex="min" does not get calculated
in ZK 6.5 this works and first calculates the column widths and then spans them over the whole table width
<zk> <button id="addListheaders" label="add list headers to cause JS error"/> <listbox span="true" width="300px"> <listhead fulfill="addListheaders.onClick"> <listheader label="aaa" hflex="min"></listheader> <listheader label="bbb" hflex="min"></listheader> <listheader label="ccc" hflex="min"></listheader> </listhead> <listitem> <listcell>Long Content</listcell> <listcell>Shorter</listcell> <listcell>tiny</listcell> </listitem> </listbox> </zk>
- relates to
-
ZK-2466 JS error when adding grid columns dynamically
- Closed