-
FEATURED COMPONENTS
First time here? Check out the FAQ!
Hi, is it possible to delay the loading of listitems into the listbox component until the users click on the down arrow of the listbox? (for the example below, I want to load car, taxi, bus, and train only after the user has clicked on the down arrow of the list box)? Could you provide code sample with your solution? Many Thanks..
<zk> <listbox mold="select" rows="1"> <listitem label="Car"/> <listitem label="Taxi"/> <listitem label="Bus" selected="true"/> <listitem label="Train"/> </listbox> </zk>
The select mold is consisted of html select tag, so it is hard to load on demand.
Ok, thanks Jumperchen. How about Lazy loading for Tabbox? Is it possible to only load the content of the 1st Tab, and then load the content for the 2nd Tab ONLY after the user has clicked on the 2nd Tab? Could you provide some simple code to do that? Thanks much..
<zk> <tabbox width="400px"> <tabs> <tab label="Tab 1" /> <tab label="Tab 2" /> </tabs> <tabpanels> <tabpanel>This is panel 1</tabpanel> <tabpanel>This is panel 2</tabpanel> </tabpanels> </tabbox> </zk>
Take a look at fullfill attribute
Asked: 2011-11-08 20:47:32 +0800
Seen: 309 times
Last updated: Nov 10 '11