Show/hide the Expander buttons in OLAP controls

2 Jun 20211 minute to read

There is a property in OlapReport called ShowExpanders, which is used to show/hide the expander buttons in the OLAP controls. By using this property, we can disable or enable the drill down/up behavior of the OLAP control.

To show the Expanders:

 //// Displaying the Expander button in Controls
 olapReport.ShowExpanders = true;
'Displaying the Expander button in Controls

olapReport.ShowExpanders = True

To hide the Expanders:

 //// Displaying the Expander button in Controls
 olapReport.ShowExpanders = false;
'Displaying the Expander button in Controls

olapReport.ShowExpanders = False