We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

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 06:14 PM

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

Loader.
Live Chat Icon For mobile
Up arrow icon