How to hide a range of rows and columns in the WinForms GridControl?
Hide a range of rows and columns
You can hide a range of rows and columns in the WinForms GridControl by using the HideRows.SetRange and HideCols.SetRange methods.
//Hide the range of rows
this.gridControl1.HideRows.SetRange(2, 5, true);
//Hide the range of columns
this.gridControl1.HideCols.SetRange(3, 4, true);'Hide the range of rows
Me.gridControl1.HideRows.SetRange(2, 5, True)
'Hide the range of columns
Me.gridControl1.HideCols.SetRange(3, 4, True)The following
screenshot illustrates the output.

Figure 1: Rows and Columns hidden in the Grid
Samples:
Conclusion
I hope you
enjoyed learning about how to hide a range of rows and columns in the
WinForms GridControl.
You can refer to our WinForms GridControl feature tour page to know about its other groundbreaking feature representations and documentation, and how to quickly get started for configuration specifications. You can also explore our WinForms GridControl example to understand how to create and manipulate data.
For current customers, you can check out our components from the License and Downloads page. If you are new to Syncfusion, you can try our 30-day free trial to check out our other controls.
If you have any queries or require clarifications, please let us know in the comments section below. You can also contact us through our support forums, Direct-Trac, or feedback portal. We are always happy to assist you!