0

How to expand row headers on first load in ZK Pivottable?

asked 2014-06-19 05:36:03 +0800

kissa gravatar image kissa
3 2

Is there an attribute in ZK Pivottable to expand row headers on first load? When I try to load my page, all rows are shrunk so user will need to click on the [+] button to expand the rows. Please help! Thanks!

delete flag offensive retag edit

1 Answer

Sort by ยป oldest newest most voted
0

answered 2014-09-10 16:54:29 +0800

nasos gravatar image nasos
1

Add the following blocks in zk.xml of your ZK application to make them in effect. org.zkoss.pivot.pivotModel.columnOpenOnInit

This property determines whether to open all column header nodes when initialized (including constructing a new model or changing pivot fields). True means to open all nodes. Default value is false.

<library-property> <name>org.zkoss.pivot.pivotModel.columnOpenOnInit</name> <value>true</value> </library-property>

org.zkoss.pivot.pivotModel.rowOpenOnInit

This property determines whether to open all row header nodes when initialized (including constructing a new model or changing pivot fields). True means to open all nodes. Default value is false.

<library-property> <name>org.zkoss.pivot.pivotModel.rowOpenOnInit</name> <value>true</value> </library-property>

link publish delete flag offensive edit
Your answer
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
1 follower

RSS

Stats

Asked: 2014-06-19 05:36:03 +0800

Seen: 12 times

Last updated: Sep 10 '14

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