This sample illustrates hiding/showing rows and columns in the grid.
Features
HideRows.SetRange and HideCols.SetRange methods are used to hide a large number of rows and columns by providing the starting and ending indices for rows or columns to be hidden respectively.
These methods accept a third Boolean parameter, which determines the hidden set.
End user can resize the column like excel when double click, by using the property "UnHideColsOnDblClick".
By setting the value as false to this property, the column will resizes as similar to excel
//This property enables resize the column like excel when double click.
this.gridControl1.UnHideColsOnDblClick = false;
Try the options in the sample and view the resultant changes.