Saturday, March 2, 2013

Customizing the Columns of a Pivot Table


1. Add the pviot table to the page.

2. Add varStatus and var attributes to dvt:pivotTable. Add dvt:dataCell, a switcher and configure as below

3. You can add a button, link etc.


4. Download the complete example here.

Note: If you are using export, the switcher component does not work. Add rendered property ( rendered="#{cellStatus.cellIndex.column==0} ) to control the values exported.
Related Posts Plugin for WordPress, Blogger...