Checkboxtree unchecked selections

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.

Checkboxtree unchecked selections

Postby soniks » Fri Sep 03, 2010 2:07 am

Hi,

I am using the Checkboxtree with digin=true which selects all lower level nodes too and returns the top level node as the selected node only. However when you deselect any of the lower level nodes the list of selected nodes changes to include all the lower level nodes. Is it possible to have the tree control give you the top level node and a list of excluded nodes instead?

Regards
soniks
 
Posts: 5
Joined: Thu Aug 12, 2010 2:50 pm

Re: Checkboxtree unchecked selections

Postby JIDE Support » Fri Sep 03, 2010 6:56 am

I'm afraid not. You may create your customized CheckBoxTreeSelectionModel to do so.

Thanks,
JIDE Software Technical Support Team
JIDE Support
Site Admin
 
Posts: 37263
Joined: Sun Sep 14, 2003 10:49 am

Re: Checkboxtree unchecked selections

Postby soniks » Fri Sep 03, 2010 8:25 am

Thanks do you have any tips on what needs to be changed to do this.
soniks
 
Posts: 5
Joined: Thu Aug 12, 2010 2:50 pm

Re: Checkboxtree unchecked selections

Postby JIDE Support » Fri Sep 03, 2010 9:21 am

I believe you need first define how you would like to store the tree path selections in your selection model. For example, if nothing is selected, the excluded path will be stored as the root path only or all the leaf tree paths. So you probably also need a isDigIn flag there. After the specification is defined, you'll be able to evaluate the work load. From my point of view, it's not easy to do so reversely.

Thanks,
JIDE Software Technical Support Team
JIDE Support
Site Admin
 
Posts: 37263
Joined: Sun Sep 14, 2003 10:49 am


Return to JIDE Common Layer Open Source Project Discussion (Community Driven)

Who is online

Users browsing this forum: No registered users and 9 guests