| Issue 101: | Radio buttons for single selection | |
| 1 person starred this issue and may be notified of changes. | Back to list |
It would be nice if you could add radio buttons as selection elements too. When 'selectMode' = 1 (single-selection) it should be possible to switch display from checkbox to radio buttons. For example addtional parameter 'radio' could be added and taken into account only when 'selectMode' = 1 Rationale: Users when they see checkboxes they assume that it is possible to select multiple options.
Jun 17, 2009
#1
lakomylukasz@gmail.com
Jun 17, 2009
That makes sense. (As possble current work-around could be to use addClass:'radio' for every node and extend the css)
Status:
Accepted
Owner: moo...@wwWendt.de Labels: -Type-Defect Type-Enhancement Milestone-Discussion
Jun 22, 2009
Here is an example of tree with radio buttons. Please see attached simple working example. I don't want to generate checkboxes on the fly because it needs to work without js (just in case). Your tree is just a layer on top of it. I also added radio buttons (after realizing that checkboxes in tree are not real checkboxes but images) using CSS trick. Please see attached html, CSS (lines: 145-174, 283-286) and images.
Jul 6, 2009
Still have to find a way to configure this.
'checkbox' option could be extended to accept a string ('radio', 'checkbox') instead
boolean?
Labels:
-Milestone-Discussion Milestone-Release0.5.1
Aug 16, 2009
- Added new GIFs - Allowed single classNames to be overridden separately - Added ui-dynatree-radio to the CSS Credits go to Łukasz Łakomy!
Jul 17, 2012
considered verified
Status:
Verified
|