cancel
Showing results for 
Search instead for 
Did you mean: 

Toggle Group Tree Viewer defaults to expanded CR 2020

pat-13
Explorer
0 Kudos
385

Hello team,

We just upgraded to Crystal Reports 2020 and noticed that from within our program we now have the Toggle Group Tree left hand pane showing (expanded) ***Screen shot attached***

We do not want this, we want it to be collapsed so the data in the viewer is not cropped on the right hand side.

I have instantiated a CrystalReportViewer object but there is no property nor method for collapsing it that I can find... We do NOT want to disable it, its useful for some reports but not needed on most.

How can we force that Toggle Group Tree to load collapsed when the viewer is rendered?

Accepted Solutions (1)

Accepted Solutions (1)

pat-13
Explorer
0 Kudos

I resolved the issue on my own.

I was playing around with the form and found that the control for this is the ToolPanelView .

I had to set it to NONE which can be done through the GUI editor or through code.

if you set it through code you can do some like this;

CrystalReportViewer1 = new CrystalReportViewer()

CrystalReportViewer1.ToolPanelView = CrystalDecisions.Windows.Forms.ToolPanelViewType.None

Answers (0)