Home Forums WPF controls Xceed DataGrid for WPF Making tab/enter keys work

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • User (Old forums)
    Member
    Post count: 23064
    #26106 |

    By default, the tab key doesn’t work – it moves out of the grid entirely rather than on to the next cell. It works in the demo that comes in the download package, though – can anyone explain how that’s done, or point to an explanation? (I wasn’t able to find anything in the documentation or a Google search.)

    Also, Enter needs to be a synonym of Tab – this doesn’t work in the demo, what’s the best way to accomplish it?

    Imported from legacy forums. Posted by Russell (had 2340 views)

    User (Old forums)
    Member
    Post count: 23064

    I believe tab works only when the cell/row is in edit mode.
    (Need some reconfirmation on this from Xceed)

    Imported from legacy forums. Posted by Serene (had 394 views)

    User (Old forums)
    Member
    Post count: 23064

    Ah yes, that does seem to be the case, thanks. So (unless there’s a fix coming in version 2?) I’m guessing what I need then is:

    1) Some way to trap and act on keystrokes (both in and out of edit mode),

    2) Some way to move to a different cell.

    There are a couple of methods in the documentation that look like they might do 2), but I can’t find any hint of a way to do 1) – am I overlooking something?

    Imported from legacy forums. Posted by Russell (had 3352 views)

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.