Results 1 to 3 of 3

Thread: move in datagrid using Enter key

  1. #1
    Junior Member
    Join Date
    Jun 2008
    Answers
    1

    move in datagrid using Enter key

    How to move in datagrid using Enter key?


  2. #2
    Junior Member
    Join Date
    May 2008
    Answers
    6

    Thumbs up 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.




  3. #3
    Moderator
    Join Date
    Jun 2007
    Answers
    2,074

    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
  •  
About us
Applying for a job can be a stressful and frustrating experience, especially for someone who has never done it before. Considering that you are competing for the position with a at least a dozen other applicants, it is imperative that you thoroughly prepare for the job interview, in order to stand a good chance of getting hired. That's where GeekInterview can help.
Interact