Articles in this section
Category / Section

How to Expand or Collapse all Levels in OlapGrid Control

1 min read

 

We can able to Expand/Collapse all the Levels in OlapGrid Control using DrillState API of DimensionElement in OlapReport.

The following code explains expand/collapse all the levels of OlapGrid.

 

C#

 

DimensionElement dimensionElementRow1 = new DimensionElement();

//Specifying the Dimension Name

dimensionElementRow1.Name = "Date";

dimensionElementRow1.AddLevel("Fiscal", "Fiscal Year");

dimensionElementRow1.DrillState = DrillState.ExpandAll;

 

 

Did you find this information helpful?
Yes
No
Help us improve this page
Please provide feedback or comments
Comments (0)
Please sign in to leave a comment
Access denied
Access denied