-
FEATURED COMPONENTS
First time here? Check out the FAQ!
Hello,
I found my problem but I couldn't find the solution. I need to do a grid that have doublebox for each line, so the user can change the quantity of each item direct in the grid, the problem is when I load the data and the render creates the doublebox the browser takes to long to render the grid, if I remove the doublebox the performance is much more faster.
This is the my RowRenderer's code:
new Label(codigoInteligente).setParent(row); new Label(nomeCor).setParent(row); new Label(quantidade.toString()).setParent(row); // The above code is responsible for the bad performance Doublebox quantidadeAdd = new Doublebox(0); quantidadeAdd.setWidth("90px"); quantidadeAdd.setConstraint("no negative"); quantidadeAdd.setParent(row); Doublebox preco = new Doublebox(0); preco.setWidth("60px"); preco.setConstraint("no negative"); preco.setParent(row);
But I need to be able to edit the quantity (and price) for each row. Is there a faster (about the rendering) way that I could do this?
FYI, my app needs to support IE7+ and Firefox only.
Regards,
Felipe Cypriano
i think you can try the Freshly version coz a grid issue had been solved.
Download Here
https://sourceforge.net/project/showfiles.php?group_id=152762&package_id=218698&release_id=688216
Hi,
I can't, right now, test it on the freshly version. I solved it showing just a few items in the grid and paginate the remain.
Using Google Chrome the performance is really fast even with the doubleboxes, I think the problem is with the rendering engine in FF and IE, and to solve it ZK would have to do some trickys. Or if my code isn't good, please tell me.
Regards,
Felipe Cypriano
Asked: 2009-06-05 14:02:01 +0800
Seen: 184 times
Last updated: Jun 10 '09