Bug Tracker

Modify

Ticket #3014 (closed feature: invalid)

Opened 5 years ago

Last modified 14 months ago

[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:
Blocking: Blocked by:

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

comment:1 Changed 5 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 4 years ago by dmethvin

  • Status changed from new to closed
  • Resolution set to invalid

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 .

Please follow the  bug reporting guidlines and use  jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.

View

Add a comment

Modify Ticket

Action
as closed
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.