0

Is it a Bug? when i Refresh GRID, page size is doubled. ...

asked 2012-03-27 09:26:53 +0800

mansoo1500 gravatar image mansoo1500
45

updated 2012-03-27 09:37:20 +0800

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);
}

delete flag offensive retag edit

2 Replies

Sort by ยป oldest newest

answered 2012-03-28 00:29:31 +0800

henrichen gravatar image henrichen
3869 2
ZK Team

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.

link publish delete flag offensive edit

answered 2012-03-28 01:35:54 +0800

mansoo1500 gravatar image mansoo1500
45

posted to bug tracker ...

link publish delete flag offensive edit
Your reply
Please start posting your answer anonymously - your answer will be saved within the current session and published after you log in or create a new account. Please try to give a substantial answer, for discussions, please use comments and please do remember to vote (after you log in)!

[hide preview]

Question tools

Follow

RSS

Stats

Asked: 2012-03-27 09:26:53 +0800

Seen: 234 times

Last updated: Mar 28 '12

Support Options
  • Email Support
  • Training
  • Consulting
  • Outsourcing
Learn More