Side navigation
#3253 closed enhancement (invalid)
Opened August 14, 2008 04:59PM UTC
Closed October 13, 2009 12:03AM UTC
[treeview] tweak for long lists
Reported by: | wmorrell | Owned by: | |
---|---|---|---|
Priority: | trivial | Milestone: | 1.3 |
Component: | plugin | Version: | 1.2.6 |
Keywords: | treeview | Cc: | |
Blocked by: | Blocking: |
Description
The Treeview plugin by Jörn Zaefferer is a great unobtrusive plugin to turn nested UL and LI tags into an expandable/collapsable tree. However, there are some issues in using the plugin on larger trees. For example, the plugin's Large Tree Demo http://jquery.bassistance.de/treeview/demo/large.html, when using the Expand All control at the top, causes the dotted line under the Lifestyle section of the demo to terminate prematurely, before the Visiting section. The plugin currently uses two GIF sprites to draw its controls and lines, which restrict the ability of the images to repeat as a background, and cause the upper bound on tree height.
I have sidestepped this limitation by adding an embedded 16x2 GIF that can repeat in the Y direction, and modifying the hitbox sprite to give the hitboxes a white (instead of transparent) background. The red, black, and gray themes could be similarly modified with a 16x1 GIF. The patch will allow for arbitrary height trees, but will not fix arbitrary height list items.
Attachments (2)
Change History (1)
Changed October 13, 2009 12:03AM UTC by comment:1
resolution: | → invalid |
---|---|
status: | new → closed |
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 .