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.