Skip to main content

Bug Tracker

Side navigation

#3014 closed feature (invalid)

Opened June 10, 2008 08:49AM UTC

Closed October 12, 2009 11:32PM UTC

Last modified March 15, 2012 04:48PM UTC

[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.

Attachments (0)
Change History (2)

Changed June 10, 2008 08:52AM UTC by quaff comment:1

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.

Changed October 12, 2009 11:32PM UTC by dmethvin comment:2

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 .