My favorites | Sign in
Project Home Downloads
READ-ONLY: This project has been archived. For more information see this post.
Search
for
  Advanced search   Search tips   Subscriptions
Issue 276: Add more classes to li and allow data-key
1 person starred this issue and may be notified of changes. Back to list
Status:  WontFix
Owner:  ----
Closed:  May 2014


 
Reported by mvdzw...@gmail.com, Jan 25, 2012
I've added the following source

 2493               unselectable: $li.hasClass("unselectable"),
 2494               hideCheckbox: $li.hasClass("hideCheckbox")

so you can still generate the tree from ul/li construct, but still have all options available... maybe all options should be available.
Jan 25, 2012
Project Member #1 moo...@wwwendt.de
I will pick up your proposal, when I work on 1.3.
It is somewhat related to  issue 252 , cause we could achieve the same using data-... attributes.
Labels: Milestone-Release1.3
Jan 25, 2012
#2 mvdzw...@gmail.com
I second that, data attributes are much better...

Also don't forget a data-key. I'm using dynatree for multiple trees on one page where the trees have the same content (it's for selecting reference1 and reference2).

Now the li's need to have the same id, which although not allowed, works without problems $('#tree1 #ref203') works just fine, but I would prefer unique id's and the key value using a data attribute
May 21, 2012
Project Member #3 moo...@wwwendt.de
(No comment was entered for this change.)
Summary: Add more classes to li and allow data-key
Status: Accepted
Labels: -Milestone-Release1.3 Milestone-Release2.0
May 1, 2014
Project Member #4 moo...@wwwendt.de
As of 2014 Dynatree is feature frozen.
Please have a look at Fancytree (sequel of DynaTree 1.x): chances are good that the problem was resolved / the requested featuer is already implemented.
Please open a new issue there otherwise:

https://github.com/mar10/fancytree
Status: WontFix

Powered by Google Project Hosting