Spread for ASP.NET 9.0 Product Documentation
RowHeaderAutoTextIndex Property
Example 


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
Requirements

Target Platforms: Windows 7, Windows 8, Windows 10, Windows Vista, Windows Server 2003, Windows Server 2008, Windows Server 2012, Windows XP Professional

See Also

Reference

SheetView Class
SheetView Members
RowHeader.AutoTextIndex Property

User-Task Documentation

Customizing the Appearance of Headers

 

 


Copyright © GrapeCity, inc. All rights reserved.