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.
Dear I want to display some row column at end of data like.
ReplyDeleteStudentName,StudentID,quiz1,quiz2,quiz3,extraMarks,AdjustmentMarks
quiz1,quiz2,quiz3
is matrix column and i want to display single value column aster matrix column can u help me