-
FEATURED COMPONENTS
First time here? Check out the FAQ!
Hi
I am trying to understand the use of popup as per this ZK DEMO
Here are some question
Why the popup component has been defined inside the template, if so, it will be create for each row.
Can we define this outside the grid and call when click one of the list item ?
Just wondering how we can call the popup in MVVM after clicking an listitem ?
Can we show close button in the right corner of the popup ?
Kind request to ZK Demo
For all the demo, you should show both on MVC and MVVM.
Please help
Are you looking something like this
<zk>
<menupopup id="theContext">
<menuitem label="a"/>
<menuitem label="b"/>
<menuitem label="c"/>
</menupopup>
<popup id="thePopup" width="100px" height="100px">
<label value="I am hiding the context menu..." />
</popup>
<window border="normal" title="Tooltip popup hides context">
<listbox height="300px">
<listitem label="The listitem" tooltip="thePopup, delay=2000" context="theContext" />
</listbox>
</window>
</zk>
Thank you. Can you please tell me how to pass arguments to the popup comp ? Say for example, instead a,b,c , can just pass the listitem itself to popup ?
Hi
Because place the popup in the template, then it can retrieve the data with EL
<popup id="detail_${each.car.carId}">
<include src="/widgets/getting_started/dialog_popup/car_detail.zul"
orderItem="${each}" />
</popup>
Asked: 2013-11-11 06:48:09 +0800
Seen: 36 times
Last updated: Nov 26 '13
composite component help [closed]
EL in a forEach @command not working?
Different template for each grid row
Cardlayout animation is broken
Grid RowRender slow using 6.5.1 and sizable=true
setVisible(false), component will load or not
Decimalbox and doublebox value rounded on iPad
history management with page status