This is the forum for JIDE Common Layer which is open sourced at
https://github.com/jidesoft/jide-oss. Please note, JIDE technical support doesn't monitor this forum as often as other forums. Please consider subscribe for technical support for JIDE Common Layer so that you can use customer only forum to get a timely response.
Moderator: JIDE Support
Forum rules
Community driven forum for open source JIDE Common Layer. JIDE technical support doesn't monitor this forum as often as other forums. If you only use JIDE Common Layer, please consider subscribing for technical support for JIDE Common Layer so that you can use customer only forum to get a timely response.
by stice » Tue Apr 30, 2013 7:17 am
Hey, i would like to enable/disable specific checkboxes after the creation of the CheckBoxTree.
Do you guys have any tips where to start?
I tried parsing the whole tree and check if the nodename is the searched one, but i cant find something like "setCheckBoxSelected"
-
stice
-
- Posts: 3
- Joined: Tue Apr 30, 2013 7:07 am
by stice » Tue Apr 30, 2013 8:29 am
tried to edit my first post, but i get an sql error:
- Code: Select all
SQL ERROR [ mysql4 ]
Column 'poll_start' cannot be null [1048]
An SQL error occurred while fetching this page. Please contact the Board Administrator if this problem persists.
Original Edit: With enable/disable i mean to check and uncheck a box
-
stice
-
- Posts: 3
- Joined: Tue Apr 30, 2013 7:07 am
by JIDE Support » Tue Apr 30, 2013 11:02 am
Please give the following code a try.
- Code: Select all
yourCheckBoxTree.getCheckBoxTreeSelectionModel().addSelectionPaths(yourPaths);
Thanks,
JIDE Software Technical Support Team
-
JIDE Support
- Site Admin
-
- Posts: 37219
- Joined: Sun Sep 14, 2003 10:49 am
-
by stice » Tue Apr 30, 2013 4:27 pm
Worked like a charm, thanks
![Smile :)](./images/smilies/icon_smile.gif)
-
stice
-
- Posts: 3
- Joined: Tue Apr 30, 2013 7:07 am
Return to JIDE Common Layer Open Source Project Discussion (Community Driven)
Who is online
Users browsing this forum: No registered users and 59 guests