'Declaration Public Sub ResetViewRowIndexes()
'Usage Dim instance As SheetView.DocumentModels instance.ResetViewRowIndexes()
public void ResetViewRowIndexes()
'Declaration Public Sub ResetViewRowIndexes()
'Usage Dim instance As SheetView.DocumentModels instance.ResetViewRowIndexes()
public void ResetViewRowIndexes()
If the cell spans are invisible then this method will cause them to become visible.
The row and column indexes in the SheetView are the same as the ones in the models until a mapping is created.
fpSpread1.AllowColumnMove = true; fpSpread1.ActiveSheet.AddSpanCell(0, 0, 2, 2); private void fpSpread1_ColumnDragMove(object sender, FarPoint.Win.Spread.DragMoveEventArgs e) { e.MoveContent = true; } private void button1_Click(object sender, System.EventArgs e) { fpSpread1.ActiveSheet.Models.ResetViewColumnIndexes(); fpSpread1.ActiveSheet.Models.ResetViewRowIndexes(); }
FpSpread1.AllowColumnMove = True FpSpread1.ActiveSheet.AddSpanCell(0, 0, 2, 2) Private Sub FpSpread1_ColumnDragMove(ByVal sender As Object, ByVal e As FarPoint.Win.Spread.DragMoveEventArgs) Handles FpSpread1.ColumnDragMove e.MoveContent = True End Sub Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click FpSpread1.ActiveSheet.Models.ResetViewColumnIndexes() FpSpread1.ActiveSheet.Models.ResetViewRowIndexes() End Sub