Opened 11 years ago

Closed 10 years ago

#8916 closed enhancement (fixed)

Tree: multi-character search

Reported by: bill Owned by: bill
Priority: high Milestone: 1.4
Component: Dijit Version: 1.1.0
Keywords: Cc:
Blocked By: Blocking:

Description

Add feature to traverse Tree nodes by typing multiple characters sequentially.

For example, in test_Tree.html

  1. Select click on "Continents" node and make it in an expanded state
  2. Type "a".
    • This moves focus to "Africa" (expected behaviour)
  3. Type "u" immediately after step 2
    • Desired behavior : moves to "Australia"
    • Current behavior : focus stays in "Africa"

Windows Explorer and Eclipse Navigator view have such capability, but it is missing in dijit.Tree.

Apparently Windows Explorer clears the "input so far" queue if the user hasn't typed anything for (about) one second.

Highlighting what the user has typed so far would also be a possibl enhancement but is not necessary (windows explorer doesn't do this).

Change History (4)

comment:1 Changed 10 years ago by DS

Most customers value type ahead for usability. This would be good to fix/implement. Our product uses this widget.

comment:2 Changed 10 years ago by alex

I'd also like to vote for this, perhaps also as a way of filtering (think FilteringSelect?, only using tree nodes as items, with the indentation visible in the "filter" view, but not the intermediate nodes).

comment:3 Changed 10 years ago by bill

Milestone: tbd1.4
Owner: set to bill
Status: newassigned

comment:4 Changed 10 years ago by bill

Resolution: fixed
Status: assignedclosed

(In [18378]) Support multi-character search in tree, so that (for example) typing "As" will navigate directly to Asia, skipping over Africa. Fixes #8916 !strict.

Note: See TracTickets for help on using tickets.