Free Support Forum - aspose.com

Hide GridWeb columns

Can someone tell me if it possible and if so how, to hide a column on a gridweb worksheet?

Thanks!

Hi,

You may set the column's width to zero.

GridWeb1.WebWorksheets[0].Cells.SetColumnWidth(new Unit(0, UnitType.Pixel));

Thanks! Works perfect.