FarPoint.Web.Spread Assembly > FarPoint.Web.Spread Namespace > SheetView Class : ActiveRow Property |
'Declaration Public Property ActiveRow As Integer
'Usage Dim instance As SheetView Dim value As Integer instance.ActiveRow = value value = instance.ActiveRow
public int ActiveRow {get; set;}
This property is available at run time only.
Set this property to specify the active row. Return the value of this property to retrieve the row index of the active row.
When the active row changes, the ActiveRowChanged event occurs.
This property is saved in the view state.
FarPoint.Web.Spread.SheetView sv = FpSpread1.ActiveSheetView;
sv.ActiveColumn = 2;
sv.ActiveRow = 2;
sv.SetValue(sv.ActiveColumn, sv.ActiveRow, "Active");
sv.OperationMode = FarPoint.Web.Spread.OperationMode.Normal;
sv.AllowInsert = True;
sv.AllowDelete = True;
Dim sv As FarPoint.Web.Spread.SheetView sv = FpSpread1.ActiveSheetView sv.ActiveColumn = 2 sv.ActiveRow = 2 sv.SetValue(sv.ActiveColumn, sv.ActiveRow, "Active") sv.OperationMode = FarPoint.Web.Spread.OperationMode.Normal sv.AllowInsert = True sv.AllowDelete = True
Target Platforms: Windows 7, Windows 8, Windows 10, Windows Vista, Windows Server 2003, Windows Server 2008, Windows Server 2012, Windows XP Professional