How to hide multiple columns at once?

Ok, so I found examples both in the user guide and in this forum that show how to hide a single column: this.gridDataBoundGrid1.Model.Cols.Hidden[2] = true; How do I hide multiple columns at once, let's say for example, columns 2 through 5? Thanks, Steve S.

1 Reply

AD Administrator Syncfusion Team September 24, 2003 11:14 PM UTC

Try this.gridDataBoundGrid1.Model.Cols.Hidden.SetRange(2, 5, true); Stefan

Loader.
Up arrow icon