Articles in this section
Category / Section

How to hide the specific columns in OlapClient grid

1 min read

This can be achieved by using the SetHidden function of Olapgrid. Please refer the below code snippet.

C#

 
 // Here 'a' is the Starting column Index and 'b' is the Ending Column Index
   this.olapClient1.OlapGrid.InternalGrid.ColumnWidths.SetHidden(a, b, true);

 

VB

 
  ' Here 'a' is the Starting column Index and 'b' is the Ending Column Index
   Me.olapClient1.OlapGrid.InternalGrid.ColumnWidths.SetHidden(a, b, true)

 

 

Figure: OlapGrid in OlapClient before hiding columns

 

 

               

 

Figure: OlapGrid in OlapClient after hiding the column “Australia”

 

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