CheckBoxListWithSelectable : Limit checked items to one

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.

CheckBoxListWithSelectable : Limit checked items to one

Postby sbrattla » Tue Jan 25, 2011 7:55 am

Hi,

When using the CheckBoxTree, I sometimes use the getCheckBoxTreeSelectionModel().setSelectionMode(TreeSelectionModel.SINGLE_TREE_SELECTION) to limit the
number of checked nodes. By setting it to SINGLE_TREE_SELECTION, only one node will be checked at any given time.

Is it possible to do this for the CheckBoxListWithSelectable too?
sbrattla
 
Posts: 20
Joined: Wed Apr 01, 2009 2:38 am

Re: CheckBoxListWithSelectable : Limit checked items to one

Postby JIDE Support » Tue Jan 25, 2011 10:50 am

I'm afraid not. As you can see in the javadoc, that's actually the major difference between those two classes. CheckBoxListWithSelectable is replaced by CheckBoxList intentionally.

Thanks,
JIDE Software Technical Support Team
JIDE Support
Site Admin
 
Posts: 37219
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: Google [Bot] and 73 guests