-
FEATURED COMPONENTS
First time here? Check out the FAQ!
I have tried adding menupopup="auto" to my listheader items, but I get the exception: org.zkoss.zk.ui.metainfo.PropertyNotFoundException: Method setMenupopup not found for class org.zkoss.zul.Listheader when the zul tries to load.
<listheader label="Tracking #" menupopup="auto"/>
The documentation for listheader says it should work since 6.5. I am on 6.5.4. http://books.zkoss.org/wiki/ZKComponentReference/Data/Listbox/Listheader (see bottom of page)
It works if I add it to column elements in a grid, but it fails when using it on a listheader in a listbox.
Am I doing something wrong? Is there a bug?
Hello rwoolf,
The property can be assigned in Listhead
, not Listheader
. As the below shows:
<listhead menupopup="auto">
<listheader label="Tracking A"/>
<listheader label="Tracking B"/>
<listheader label="Tracking C"/>
</listhead>
Please refer Listhead for more details.
menupopup="auto"
works the same as grid in the demo.
Asked: 2014-02-11 22:59:33 +0800
Seen: 35 times
Last updated: Feb 12 '14
Just try it <listhead menupopup="auto">
sitansu ( 2014-02-12 17:02:47 +0800 )edit