Spread for ASP.NET 8.0 Product Documentation
ColumnHeader Property (SheetView)
Example 


Gets the column headers for the sheet.
Syntax
'Declaration
 
Public ReadOnly Property ColumnHeader As ColumnHeader
'Usage
 
Dim instance As SheetView
Dim value As ColumnHeader
 
value = instance.ColumnHeader
public ColumnHeader ColumnHeader {get;}

Property Value

ColumnHeader object that contains column headers
Example
This example sets the sheet to have three rows of column headers and sets the first row to display the numbers.
FarPoint.Web.Spread.SheetView sv;
sv = FpSpread1.ActiveSheetView;
sv.ColumnHeader.RowCount = 3;
if(IsPostBack)
{
sv.ColumnHeaderAutoTextIndex = 0;
}
Dim sv As FarPoint.Web.Spread.SheetView
sv = FpSpread1.ActiveSheetView
sv.ColumnHeader.RowCount = 3
If IsPostBack Then
sv.ColumnHeaderAutoTextIndex = 0
End If
Requirements

Target Platforms: Windows 7, Windows 8, Windows Vista, Windows Server 2000, Windows 2000 Professional, Windows XP Professional, Windows NT 4.0 Workstation, SP6, Windows NT 4.0 Server, SP6

See Also

Reference

SheetView Class
SheetView Members
ColumnHeader Class

User-Task Documentation

Customizing the Appearance of Headers

 

 


Copyright © GrapeCity, inc. All rights reserved.