PivotModel"

From Documentation
(Created page with "{{ZKPivottableEssentialsPageHeader}} {{Template:UnderConstruction}} ==PivotModel== <!-- TODO: all open --> ==Version History== {{LastUpdated}} {| border='1px' | width="100%" !...")
 
 
Line 1: Line 1:
 
{{ZKPivottableEssentialsPageHeader}}
 
{{ZKPivottableEssentialsPageHeader}}
  
{{Template:UnderConstruction}}
+
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.
 +
 
 +
<source lang="xml">
 +
<library-property>
 +
<name>org.zkoss.pivot.pivotModel.columnOpenOnInit</name>
 +
<value>true</value>
 +
</library-property>
 +
</source>
 +
 
 +
 
 +
 
 +
==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.
 +
 
 +
<source lang="xml">
 +
<library-property>
 +
<name>org.zkoss.pivot.pivotModel.rowOpenOnInit</name>
 +
<value>true</value>
 +
</library-property>
 +
</source>
 +
 
  
==PivotModel==
 
<!-- TODO: all open -->
 
  
 
==Version History==
 
==Version History==

Latest revision as of 11:29, 29 March 2011


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>


Version History

Last Update : 2011/03/29


Version Date Content
     



Last Update : 2011/03/29

Copyright © Potix Corporation. This article is licensed under GNU Free Documentation License.