⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 b30-1823921.zul

📁 ZK是一个Ajax Java Web框架
💻 ZUL
字号:
<zk xmlns:h="http://www.w3.org/1999/xhtml">
<h:h3> [ 1823921 ] Listbox crashed with complex Header</h:h3>
<h:pre>

Firefox and IE6 can't draw Listbox correctly while
Listhead's sizable is true and Listheader with image, label and percentage
width.
</h:pre>
	<window id="win" title="TEST" sizable="true"
		width="600px" height="350px" border="normal">
		<caption label="Sizable, percentage, Header"/>
		<zscript><![CDATA[
			import java.util.ArrayList;
			ArrayList list = new ArrayList();
			
			for(int i=1;i<=20;i++)
			{
				
				list.add(new String[] {"name"+i, i%2==1?"Male":"Female",""+i,"addr"+i});
			}
		]]></zscript>
		<listbox id="libox" width="100%" multiple="true" vflex="true">
			<listhead  sizable="true">
				<listheader label="Name" sort="auto" width="25%" image="/img/coffee.gif"/>
				<listheader label="Gender" sort="auto" width="25%" image="/img/folder.gif"/>
				<listheader label="Age" sort="auto" width="25%" align="center" image="/img/cubfirs.gif"/>
				<listheader label="Description" width="25%" sort="auto" image="/img/home.gif"/>
			</listhead>
			<listitem forEach="${list}">
				<listcell label="${each[0]}"/>
				<listcell label="${each[1]}"/>
				<listcell label="${each[2]}"/>
				<listcell label="${each[3]}"/>
			</listitem>
		</listbox>
	</window>
</zk>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -