KoolReport's Forum

Official Support Area, Q&As, Discussions, Suggestions and Bug reports.
Forum's Guidelines

RowCollapseLevel init in PivotTable #94

Open bysystem opened this topic on on Aug 26, 2017 - 3 comments

bysystem commented on Aug 26, 2017

Dear support team,

in my PivotTable widget I have the following properties for CollapseLevels:

				  "rowCollapseLevels" => array(1,2,3),
				  "columnCollapseLevels" => array(1,2),

And the initial collapsing is only for the first level:

I tried several options "rowCollapseLevels" => array(2), or ... array(1) or array(1,2) or array (2,3) etc.. but I could not set the initial collapseLevel with opened FIRST AND the SECOND level like:

How can I do this?

bysystem commented on Aug 27, 2017

Solved!

"rowCollapseLevels" => array (2,2,2), does the figure above!

David Winterburn commented on Aug 27, 2017

Hi bysystem,

Could you please try:

"rowCollapseLevels" => array (2)

I think it would work the same. Thanks!

bysystem commented on Aug 27, 2017

Oh yes David! Works the same!

Thx a lot!

Build Your Excellent Data Report

Let KoolReport help you to make great reports. It's free & open-source released under MIT license.

Download KoolReport View demo
solved

Pivot