-
FEATURED COMPONENTS
First time here? Check out the FAQ!
Usually I recall initGrid() method when grid data change ... (after Add, Update, Delete)
but i found strange thing on pageSize after i upgraded ZK 5.x.x to ZK6.0.0.
after i recall initGrid(), pageSize of the grid is doubled as you see below.
Is it a bug? there was no problem with ZK 5.x.x.
// GridComposer.java private void initGrid() { Rows rows = null; if (grid.getRows() == null) rows = new Rows(); else{ rows = grid.getRows(); rows.getChildren().clear(); } for () { Label label1 = new Label("test"); row.appendChild(label1); ... rows.appendChild(row); } grid.appendChild(rows); }
Looks like a bug to me. Would you help post this to ZK bug tracker along with a simple testing example code that will replicate this issue so we can track it. Thanks.
http://tracker.zkoss.org/secure/IssueNavigator.jspa?mode=hide&requestId=10001
Use your ZK forum username and password to login if requested.
posted to bug tracker ...
Asked: 2012-03-27 09:26:53 +0800
Seen: 234 times
Last updated: Mar 28 '12