| Issue 195: | Keep LI class names persistant after render | |
| 1 person starred this issue and may be notified of changes. | Back to list |
First, for one of my projects, I needed to keep the classes assigned to the li tag. I made some changes to your source for that. See attached file Secondly, I must execute a callback function after the action 'expand'. if you have already developed a similar function, you can send it to me. Otherwise I develop it and you'll send it. Regards,
May 3, 2011
I missed this option when I looked. I need the onExpand option for my contextual menu. When the tree is collapse and after expands, the child nodes don't bind the event to show the menu. my change to allow the persitence of classes aims to use these classes as JQuery selector's (eg. multiple contextual menus in the same tree)
May 3, 2011
in this case the addClass option may help?
<li data="addClass: 'customClass1'">Pretty node
May 3, 2011
Yes probably, but the attribute 'data' is not a valid attribute for the element ul. I also can not change the structure of my source tree (third-party application).
May 1, 2014
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
|
Labels: Milestone-Discussion