BoldSignEasily embed eSignatures in your .NET applications. Free sandbox with native SDK available.
Private Sub btnUp_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnUp.Click
'' Move the cell view up one
If gridTrading2.CurrentCell.RowIndex() > 0 And gridTrading2.CurrentCell.RowIndex() < gridTrading2.RowCount Then
gridTrading2.CurrentCell.Activate(gridTrading2.CurrentCell.RowIndex(), 5)
gridTrading2.CurrentCell.Move(GridDirectionType.Up, 1, False, False)
End If
End Sub
Any ideas?
Thank you in advance,
Aaron Taylor
grid.Properties.RowHeaders = false;
//or
grid.Cols.Hidden[0] = true;
To make a particular cell the currentcell: try
grid.Focus();//if the grid does not have focus
grid.CurrentCell.MoveTo(someRowIndex, someColIndex);
The MoveTo method can also take a 3rd parameter that you can use to actually activate the cell for editing (GridSetCurrentCellOptions.SetFocus) among other setting.
>grid.Properties.RowHeaders = false;
>//or
>grid.Cols.Hidden[0] = true;
>
>
>To make a particular cell the currentcell: try
>
>grid.Focus();//if the grid does not have focus
>grid.CurrentCell.MoveTo(someRowIndex, someColIndex);
>
>The MoveTo method can also take a 3rd parameter that you can use to actually activate the cell for editing (GridSetCurrentCellOptions.SetFocus) among other setting.