Tab Key Navigation

2 posts, 0 answers
  1. Daní
    Daní avatar
    303 posts
    Member since:
    Feb 2008

    Posted 24 May 2011 Link to this post

    Hello,

    I'm using RadTreeListView with both Row and Column virtualization. This RadTreeListView has an "edition column". Using style selectors I'm providing this column with an editor. Only leaf cells are editable, so rows with children items do not show cells, just a description. I want that when user press tab key the treelistview's current cell shift down side. That means if users is in the column editor of the first row, it he presses tab key the current cell must be the editor on the second row and so on. If next row is not a leaf one (it has children), this row must be expanded (if needed) and the first leaf row in its hierarchy set as the current cell.

    I've created a CustomKeyboardCommandProvider by inheriting from DefaultKeaboardCommandProvidre and I've cleared the commands returned when Key is TabKey. Then, I try to expand necessary nodes and set the next cell to current. This work fines until the next row is not a leaf row (it contains children).

    How can I navigate top to down with the tab key?
  2. Daní
    Daní avatar
    303 posts
    Member since:
    Feb 2008

    Posted 24 May 2011 Link to this post

    Solved.

    In my behavior I was setting Cell.IsCurrent to true. Calling Focus() method on cell makes it working great
  3. DevCraft banner
Back to Top