Bug Tracker

Opened 11 years ago

Closed 10 years ago

Last modified 8 years ago

#3014 closed feature (invalid)

[treeview] add focus and highlight feature

Reported by: quaff Owned by:
Priority: major Milestone: 1.3
Component: plugin Version: 1.2.6
Keywords: treeview focus Cc:
Blocked by: Blocking:

Description

it is not easy to focus a tree item currently,I hope jquery treeview provide a simple way to do such opration like this: 1. $('#three').treeview();all collapsed $('#three').treeview({focus:'#13'});make all parents of #13 expanded 2. add class 'active' to tree item span element which is activated by user click event or treeview focus,and highlight this active tree item.

Change History (2)

comment:1 Changed 11 years ago by quaff

it is not easy to focus a tree item currently,I hope jquery treeview provide a simple way to do such opration like this:

  1. $('#three').treeview();all collapsed $('#three').treeview({focus:'#13'});make all parents of #13 expanded
  1. add class 'active' to tree item span element which is activated by user click event or treeview focus,and highlight this active tree item.

comment:2 Changed 10 years ago by dmethvin

Resolution: invalid
Status: newclosed

This is not a jQuery core bug. Please report plugin bugs to the plugin's author, or ask on the jQuery forums. jQuery UI bugs should be reported on the UI bug tracker, http://dev.jqueryui.com .

Note: See TracTickets for help on using tickets.