Through code-behind, one can collapse only the first level
of headers in PivotRows, whereas the headers in subsequent levels can not be
collapsed through code. So need to provide option to collapse headers at any
levels in PivotRows.