I am trying to make a listbox from my two array. One of them has column names and the other list has inside two list that contains values.
I can set headers from string , but I cant separate values to list cells. It shows two list item but only one list cell. Like
HEADER 1 | HEADER 2 | HEADER 3
[1, 2, 0]
[1, 7, 0]
I should separate them . Here my .zul code
<listbox id="listModel"
mold="paging" pageSize="20" rows="20" selectedItem="@{mainCtrl.selected}">
<listhead forward="onDoubleClick=onRemoveFromHeader()">
<listheader label="${each}"
forEach="${comboModelColumns}" />
</listhead>
<listitem
label="${each}"
forEach="${listValues}">
</listitem>
</listbox>
This helped me