Spread for ASP.NET 11 Product Documentation
RowHeaderAutoTextIndex Property
Example 


FarPoint.Web.Spread Assembly > FarPoint.Web.Spread Namespace > SheetView Class : RowHeaderAutoTextIndex Property
Gets or sets which row header column displays the automatic text when there are multiple row header columns.
Syntax
'Declaration
 
Public Property RowHeaderAutoTextIndex As Integer
'Usage
 
Dim instance As SheetView
Dim value As Integer
 
instance.RowHeaderAutoTextIndex = value
 
value = instance.RowHeaderAutoTextIndex
public int RowHeaderAutoTextIndex {get; set;}

Property Value

Integer number representing the row header column
Remarks
This property is available at run time only.
Example
This example sets the sheet to have three columns in the row header and to display letters in the first column (closest to the data).
FarPoint.Web.Spread.SheetView sv;
sv = FpSpread1.ActiveSheetView;
sv.RowHeader.ColumnCount = 3;
if(IsPostBack)
{
sv.RowHeaderAutoTextIndex = 0;
}

Dim sv As FarPoint.Web.Spread.SheetView
sv = FpSpread1.ActiveSheetView
sv.RowHeader.ColumnCount = 3
If IsPostBack Then
sv.RowHeaderAutoTextIndex = 0
End If
See Also

Reference

SheetView Class
SheetView Members
RowHeader.AutoTextIndex Property

User-Task Documentation

Customizing the Appearance of Headers