-
FEATURED COMPONENTS
First time here? Check out the FAQ!
Hi,
I have created a listbox with column header, this header list has popupmenu="auto"
set with multiple columns, few columns has visibility false initially. The user can enable/disable columns according to his use.
But these user setting get reset on any other operation like sorting or moving to next/previous page.
Is there any way we can handle this situation?
<listbox id="listbox"/>
<listhead id="listhead" popupmenu="auto">
<listheader label="title1" visibility="true"/>
<listheader label="title2" visibility="true"/>
<listheader label="title3" visibility="false"/>
<listheader label="title4" visibility="true"/>
<listheader label="title5" visibility="false"/>
<listheader label="title6" visibility="true"/>
</listhead>
<listitem>
<listcell label="abc1"/>
<listcell label="abc2"/>
<listcell label="abc3"/>
<listcell label="abc4"/>
<listcell label="abc5"/>
<listcell label="abc6"/>
</listitem>
</listbox>
Thanks.
Asked: 2013-10-16 16:04:49 +0800
Seen: 8 times
Last updated: Oct 16 '13
Can you share a Demo code in ZKFiddle?
sjoshi ( 2013-10-16 20:28:35 +0800 )edit