-
Junior Member
move in datagrid using Enter key
How to move in datagrid using Enter key?
-
Junior Member
Re: move in datagrid using Enter key
DataGridCell current= dataGrid.CurrentCell;
if(current.ColumnNumber < 2)
dataGrid.CurrentCell= new
DataGridCell(current.RowNumber,current.ColumnNumber + 1)
// else by default if I do nothing it should create a new row and put me at
the first cell.
-
Re: move in datagrid using Enter key
If you want to move to the next record then try handle the Enter key using related events.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules