-
FEATURED COMPONENTS
First time here? Check out the FAQ!
Hi.
I'm using the example of inline row editing (http://www.zkoss.org/zkdemo/grid/inline_row_editing) to allow editing in a grid. I made a change because I'll need a component of type Colorbox appear there too.
When I run the program enters an infinite loop. Debugging I found that the problem happens in this snippet the class Grid, method doInitRenderer:
for (Iterator it = _rows.getChildren (). listIterator (realOfs) j <& & pgsz it.hasNext ();)
Apparently the loop never ends. This problem only happens when you put your colorbox on the grid. Without it works perfect.
I tested the component in isolation in a new grid, without options inline edting row and it worked. The problem happens when I use the extended class, EditableRow (extends Row).
To reproduce the problem just change the demo version of the example by adding a column with Colorbox.
Thanks
Hi
this is my testing code, it's working fine
<grid> <rows> <row> <colorbox></colorbox> </row> </rows> </grid>
Could you provide zul sample code for your issue ? by the way, server side in infinite loop ? or client side ?
Asked: 2011-05-02 09:41:18 +0800
Seen: 325 times
Last updated: May 03 '11