FarPoint.Web.Spread Assembly > FarPoint.Web.Spread Namespace > SheetView Class : GetColumnVisible Method |
To specify whether a column is displayed, use the SetColumnVisible method.
To specify whether a row is displayed, use the SetRowVisible method.
FarPoint.Web.Spread.SheetView sv=FpSpread1.ActiveSheetView; FarPoint.Web.Spread.Column mycol; mycol=sv.Columns[1]; sv.SetValue(0,1,"Alignment"); sv.SetValue(1,1,"CarbAdjust"); sv.SetValue(2,1,"Brakes"); sv.SetColumnVisible(1,false); ListBox1.Items.Add(Convert.ToString(sv.GetColumnVisible(1)));
Dim sv As FarPoint.Web.Spread.SheetView sv=FpSpread1.ActiveSheetView Dim mycol As FarPoint.Web.Spread.Column mycol=sv.Columns(1) sv.SetValue(0,1,"Alignment") sv.SetValue(1,1,"CarbAdjust") sv.SetValue(2,1,"Brakes") sv.SetColumnVisible(1,False) ListBox1.Items.Add(sv.GetColumnVisible(1))
Target Platforms: Windows 7, Windows 8, Windows 10, Windows Vista, Windows Server 2003, Windows Server 2008, Windows Server 2012, Windows XP Professional
SheetView Class
SheetView Members
SetColumnVisible Method
SetRowVisible Method