Clear hidden columns

Hi, I already know that a single hidden column can be masde visible by a call to: this.gridControl.Cols.Hidden[colIndex] = false; But how to clear all hidden columns or respectively how to get the number of hidden columns? Thanks in advance, Holger Persch

1 Reply

AD Administrator Syncfusion Team July 9, 2004 05:43 AM UTC

You can use grid.Model.HideCols.SetRange to either hide or show columns. There is also a grid.HideCols.ResetRange method you can use to reset whether a range of columns has been hidden. There is no straight-forward way to get a count of hidden column unless you maintain it yourself.

Loader.
Up arrow icon