| Issue 422: | Update selectMode at runtime does not work | |
| 1 person starred this issue and may be notified of changes. | Back to list |
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 24, 2013
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
did you try to call tree.redraw()?
Apr 24, 2013
(No comment was entered for this change.)
Status:
Waiting
Apr 24, 2013
I added tree.redraw() to my code, but classNames were not changed to "dynatree-checkbox", and icons looks radio.
Oct 6, 2013
Closing 'Waiting' issues without timely answer
Status:
Done
May 3, 2014
(No comment was entered for this change.)
Status:
WontFix
Labels: -Milestone-Release1.2.x Milestone-Release1.2.5 |
Labels: -Priority-Medium Priority-Low Milestone-Release1.2.x