Articles in this section
Category / Section

How to hide specific column or row of OlapGrid in OlapClient

1 min read

We can able to hide particular row/column of OlapGrid in OlapClient by using Sethidden () function. Please refer the below code snippet.

C#

this.olapGrid.InternalGrid.Model.RowHeights.SetHidden(0, 1, true);
//The first parameter is an integer, which specifies the starting row to hide
//The second parameter is an integer, which specifies the ending row to hide
//Third is a boolean parameter that determines whether to hide/unhide the specified number of rows.
this.olapGrid.InternalGrid.Model.ColumnWidths.SetHidden(0, 1, true);
//The first parameter is an integer, which specifies the starting column to hide
//The second parameter is an integer, which specifies the ending column to hide
//Third is a boolean parameter that determines whether to hide/unhide the specified number of columns.
 

 

 

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