Processing...

Suggested case list:

Using timer to refresh a grid

383guest172.69.33.12125nk0uiMay 7, 2020 7:23:47 AMlink

user model to move item to another listbox

120guest162.158.193.148d0n3krApr 2, 2020 5:28:28 AMlink

Disabled list item row passed to VM-1981

296fatih123160.83.36.13025nk0uiFeb 13, 2018 4:25:44 PMlink

Disabled list item row passed to VM-1981

295fatih123160.83.36.13025nk0uiFeb 13, 2018 4:25:16 PMlink

Disabled list item row passed to VM-1981

294fatih123160.83.36.13225nk0uiFeb 13, 2018 3:30:44 PMlink

grid sample with ListModel/RowRenderer

816guest80.82.2.1312vah9ajFeb 21, 2017 11:42:21 AMlink

grid sample with ListModel/RowRenderer

809guest175.98.113.1622vah9ajJan 26, 2017 9:19:33 AMlink

grid sample with ListModel/RowRenderer

196guest79.185.142.402vah9ajApr 26, 2014 10:53:57 PMlink

grid sample with ListModel/RowRenderer

195guest79.185.142.402vah9ajApr 26, 2014 10:53:54 PMlink

grid sample with ListModel/RowRenderer

194guest79.185.142.402vah9ajApr 26, 2014 10:53:51 PMlink

grid sample with ListModel/RowRenderer

193guest79.185.142.402vah9ajApr 26, 2014 10:53:48 PMlink

grid sample with ListModel/RowRenderer

192guest79.185.142.402vah9ajApr 26, 2014 10:53:44 PMlink

grid sample with ListModel/RowRenderer

191guest79.185.142.402vah9ajApr 26, 2014 10:53:40 PMlink

Hierarchy table without using ZK PE/EE

1aaknai151.28.135.2131s871daJul 29, 2013 11:02:46 PMlink

grid sample with ListModel/RowRenderer

128aaknai151.28.135.2132vah9ajJul 29, 2013 7:20:00 PMlink

user model to move item to another listbox

1TonyQ114.25.109.94d0n3krApr 21, 2012 10:43:27 AMlink

Using timer to refresh a grid

1TonyQ220.133.44.3725nk0uiFeb 17, 2012 3:17:34 AMlink

Fire a event from child iframe

1TonyQ220.133.44.372eupjotFeb 3, 2012 5:04:52 AMlink

Textbox input restriction sample

1TonyQ72.21.245.2431b3nlr0Dec 20, 2011 10:09:10 AMlink

Test web core taglib in ZUL

1TonyQ198.203.175.175ofqkemDec 17, 2011 3:36:08 AMlink

Latest 10 Fiddles :

Force validation of constraints before processing the form

1guest172.70.86.20348gri4Sep 30, 2022 1:27:45 PMlink

Another new ZK fiddle

4guest162.158.170.24559227Sep 30, 2022 3:05:37 AMlink

Another new ZK fiddle

3guest162.158.170.24559227Sep 30, 2022 3:01:03 AMlink

Another new ZK fiddle

2guest162.158.170.24559227Sep 30, 2022 2:55:21 AMlink

Another new ZK fiddle

1guest162.158.170.24559227Sep 30, 2022 2:48:58 AMlink

PDF Viewer in ZK using Iframe

3ImanolRP172.71.114.127314phf6Sep 29, 2022 11:28:24 PMlink

asdf

2ImanolRP172.71.114.127314phf6Sep 30, 2022 1:06:02 PMlink

dynamic html using EL

1guest172.68.253.2733i9oktSep 29, 2022 1:18:46 PMlink

Double spinner weird action

86guest172.70.218.1553f23keaSep 29, 2022 10:52:30 AMlink

Double spinner weird action

85guest172.71.198.1253f23keaSep 29, 2022 10:46:12 AMlink

grid iceblue rows height

4guest172.70.206.932t301n9Jul 15, 2022 3:42:02 AMlink

resources

index.zulzul<zk> <style> .z-row-content .z-label { font-size: 11px; padding: 0; } .z-column-content{ font-size: 11px; padding: 0; } .z-row-content{ padding: 0; line-height: 11px; } .z-grid-body .z-cell{ padding: 0; line-height: 11px; } </style> <grid width="1000px" apply="pkg$.GridController" > <columns> <column label="" style="background-color: #89cff0;" width="200px"/> <column label="2012" style="background-color: #89cff0;"/> <column label="2013" style="background-color: #89cff0;"/> <column label="2014" style="background-color: #89cff0;"/> <column label="2015" style="background-color: #89cff0;"/> <column label="2016" style="background-color: #89cff0;"/> <column label="2017" style="background-color: #89cff0;"/> <column label="2018" style="background-color: #89cff0;"/> <column label="2019" style="background-color: #89cff0;"/> <column label="2020" style="background-color: #89cff0;"/> <column label="2021" style="background-color: #89cff0;"/> <column label="2022" style="background-color: #89cff0;"/> </columns> <rows> <row> <cell style="background-color: #89cff0; border:none; "> <label id="X0Y1" style="font-size: 11px"/> </cell> <label id="X1Y1" value="112.2"/> <label id="X2Y1" value="112.2"/> <label id="X3Y1" value="112.2"/> <label id="X4Y1" value="112.2"/> <label id="X5Y1" value="112.2"/> <label id="X6Y1" value="112.2"/> <label id="X7Y1" value="112.2"/> <label id="X8Y1" value="112.2"/> <label id="X9Y1" value="112.2"/> <label id="X10Y1" value="112.2"/> <label id="X11Y1" value="112.2"/> </row> <row> <cell style="background-color: #89cff0;"> <label id="X0Y2" style="font-size: 11px"/> </cell> <label id="X1Y2"/> <label id="X2Y2"/> <label id="X3Y2"/> <label id="X4Y2"/> <label id="X5Y2"/> <label id="X6Y2"/> <label id="X7Y2"/> <label id="X8Y2"/> <label id="X9Y2"/> <label id="X10Y2"/> <label id="X11Y2"/> </row> <row> <cell style="background-color: #89cff0;"> <label id="X0Y3" style="font-size: 11px"/> </cell> <label id="X1Y3"/> <label id="X2Y3"/> <label id="X3Y3"/> <label id="X4Y3"/> <label id="X5Y3"/> <label id="X6Y3"/> <label id="X7Y3"/> <label id="X8Y3"/> <label id="X9Y3"/> <label id="X10Y3"/> <label id="X11Y3"/> </row> <row> <cell style="background-color: #89cff0;"> <label id="X0Y4" style="font-size: 11px"/> </cell> <label id="X1Y4"/> <label id="X2Y4"/> <label id="X3Y4"/> <label id="X4Y4"/> <label id="X5Y4"/> <label id="X6Y4"/> <label id="X7Y4"/> <label id="X8Y4"/> <label id="X9Y4"/> <label id="X10Y4"/> <label id="X11Y4"/> </row> <row> <cell style="background-color: #89cff0;"> <label id="X0Y5" style="font-size: 11px"/> </cell> <label id="X1Y5"/> <label id="X2Y5"/> <label id="X3Y5"/> <label id="X4Y5"/> <label id="X5Y5"/> <label id="X6Y5"/> <label id="X7Y5"/> <label id="X8Y5"/> <label id="X9Y5"/> <label id="X10Y5"/> <label id="X11Y5"/> </row> <row> <cell style="background-color: #89cff0;"> <label id="X0Y6" style="font-size: 11px"/> </cell> <label id="X1Y6"/> <label id="X2Y6"/> <label id="X3Y6"/> <label id="X4Y6"/> <label id="X5Y6"/> <label id="X6Y6"/> <label id="X7Y6"/> <label id="X8Y6"/> <label id="X9Y6"/> <label id="X10Y6"/> <label id="X11Y6"/> </row> <row> <cell style="background-color: #89cff0;"> <label id="X0Y7" style="font-size: 11px"/> </cell> <label id="X1Y7"/> <label id="X2Y7"/> <label id="X3Y7"/> <label id="X4Y7"/> <label id="X5Y7"/> <label id="X6Y7"/> <label id="X7Y7"/> <label id="X8Y7"/> <label id="X9Y7"/> <label id="X10Y7"/> <label id="X11Y7"/> </row> <row> <cell style="background-color: #89cff0;"> <label id="X0Y8" style="font-size: 11px"/> </cell> <label id="X1Y8"/> <label id="X2Y8"/> <label id="X3Y8"/> <label id="X4Y8"/> <label id="X5Y8"/> <label id="X6Y8"/> <label id="X7Y8"/> <label id="X8Y8"/> <label id="X9Y8"/> <label id="X10Y8"/> <label id="X11Y8"/> </row> <row> <cell style="background-color: #89cff0;"> <label id="X0Y9" style="font-size: 11px"/> </cell> <label id="X1Y9"/> <label id="X2Y9"/> <label id="X3Y9"/> <label id="X4Y9"/> <label id="X5Y9"/> <label id="X6Y9"/> <label id="X7Y9"/> <label id="X8Y9"/> <label id="X9Y9"/> <label id="X10Y9"/> <label id="X11Y9"/> </row> <row> <cell style="background-color: #89cff0;"> <label id="X0Y10" style="font-size: 11px"/> </cell> <label id="X1Y10"/> <label id="X2Y10"/> <label id="X3Y10"/> <label id="X4Y10"/> <label id="X5Y10"/> <label id="X6Y10"/> <label id="X7Y10"/> <label id="X8Y10"/> <label id="X9Y10"/> <label id="X10Y10"/> <label id="X11Y10"/> </row> <row> <cell style="background-color: #89cff0;"> <label id="X0Y11" style="font-size: 11px"/> </cell> <label id="X1Y11"/> <label id="X2Y11"/> <label id="X3Y11"/> <label id="X4Y11"/> <label id="X5Y11"/> <label id="X6Y11"/> <label id="X7Y11"/> <label id="X8Y11"/> <label id="X9Y11"/> <label id="X10Y11"/> <label id="X11Y11"/> </row> <row> <cell style="background-color: #89cff0;"> <label id="X0Y12" style="font-size: 11px"/> </cell> <label id="X1Y12"/> <label id="X2Y12"/> <label id="X3Y12"/> <label id="X4Y12"/> <label id="X5Y12"/> <label id="X6Y12"/> <label id="X7Y12"/> <label id="X8Y12"/> <label id="X9Y12"/> <label id="X10Y12"/> <label id="X11Y12"/> </row> <row> <cell style="background-color: #89cff0;"> <label id="X0Y13" style="font-size: 11px"/> </cell> <label id="X1Y13"/> <label id="X2Y13"/> <label id="X3Y13"/> <label id="X4Y13"/> <label id="X5Y13"/> <label id="X6Y13"/> <label id="X7Y13"/> <label id="X8Y13"/> <label id="X9Y13"/> <label id="X10Y13"/> <label id="X11Y13"/> </row> <row> <cell style="background-color: #89cff0;"> <label id="X0Y14" style="font-size: 11px"/> </cell> <label id="X1Y14"/> <label id="X2Y14"/> <label id="X3Y14"/> <label id="X4Y14"/> <label id="X5Y14"/> <label id="X6Y14"/> <label id="X7Y14"/> <label id="X8Y14"/> <label id="X9Y14"/> <label id="X10Y14"/> <label id="X11Y14"/> </row> <row> <cell style="background-color: #89cff0;"> <label id="X0Y15" style="font-size: 11px"/> </cell> <label id="X1Y15"/> <label id="X2Y15"/> <label id="X3Y15"/> <label id="X4Y15"/> <label id="X5Y15"/> <label id="X6Y15"/> <label id="X7Y15"/> <label id="X8Y15"/> <label id="X9Y15"/> <label id="X10Y15"/> <label id="X11Y15"/> </row> <row> <cell style="background-color: #89cff0;"> <label id="X0Y16" style="font-size: 11px"/> </cell> <label id="X1Y16"/> <label id="X2Y16"/> <label id="X3Y16"/> <label id="X4Y16"/> <label id="X5Y16"/> <label id="X6Y16"/> <label id="X7Y16"/> <label id="X8Y16"/> <label id="X9Y16"/> <label id="X10Y16"/> <label id="X11Y16"/> </row> </rows> </grid> </zk> GridController.javajavaimport java.io.BufferedReader; import java.io.File; import java.io.FileNotFoundException; import java.io.FileReader; import java.io.IOException; import java.util.List; import org.zkoss.zk.ui.Component; import org.zkoss.zk.ui.select.SelectorComposer; import org.zkoss.zk.ui.select.annotation.Wire; import org.zkoss.zul.Label; public class GridController extends SelectorComposer<Component>{ //static String[][] tabla; @Wire("label") List<Label> labels; //12 labels per row @Override public void doAfterCompose(Component comp) throws Exception { // TODO Auto-generated method stub super.doAfterCompose(comp); fillDataChart(); } public void fillDataChart() { int x=0,y=0; for(Label label : labels) { if(x<12) { label.setValue(String.valueOf(x)); x++; } else { y++; x=0; label.setValue(String.valueOf(x)); x++; } } } }