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 422: Update selectMode at runtime does not work
1 person starred this issue and may be notified of changes. Back to list
Status:  WontFix
Owner:  ----
Closed:  Oct 2013


 
Reported by amrocs...@gmail.com, Apr 23, 2013
What steps will reproduce the problem?
1. Set selectMode 1  (-> radio)
2. $("#tree").dynatree("option", "selectMode", 2);  (-> checkbox)
3. Checkbox icons are still radio, but click these icon, nodes selected like checkbox. 

What is the expected output? What do you see instead?
On update selectMode, icons should be checkboxes.

What version of the dynatree and jQuery are you using?  dynatree1.2.4, jquery1.9.1
On what operating system and browser?  Linux, chrome26

Apr 23, 2013
Project Member #1 moo...@wwwendt.de
(No comment was entered for this change.)
Status: Accepted
Labels: -Priority-Medium Priority-Low Milestone-Release1.2.x
Apr 24, 2013
#2 amrocs...@gmail.com
I have forgotten to write that I changed classNames option also at runtime.
I think updating classNames cause this problem.
ClassNames of all checkboxes were not changed.
Apr 24, 2013
Project Member #3 moo...@wwwendt.de
did you try to call tree.redraw()?
Apr 24, 2013
Project Member #4 moo...@wwwendt.de
(No comment was entered for this change.)
Status: Waiting
Apr 24, 2013
#5 amrocs...@gmail.com
I added tree.redraw() to my code, but classNames were not changed to "dynatree-checkbox", and icons looks radio.

Oct 6, 2013
Project Member #6 moo...@wwwendt.de
Closing 'Waiting' issues without timely answer
Status: Done
May 3, 2014
Project Member #7 moo...@wwwendt.de
(No comment was entered for this change.)
Status: WontFix
Labels: -Milestone-Release1.2.x Milestone-Release1.2.5

Powered by Google Project Hosting