CheckBox Tree

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.

CheckBox Tree

Postby jamindhar » Mon Jun 01, 2009 10:16 pm

Hi,


in Check Box Tree how can we check whether a particular node is selected or not?


and how can we get the selected child information for a parent..

for example Parent1 has two childs ,child1 and child2 .. how can i get the selected child information by using parent node..

Please help me out..thanks in advance

Krishna Kumar Hotha
jamindhar
 
Posts: 18
Joined: Mon Aug 25, 2008 11:53 pm

Re: CheckBox Tree

Postby JIDE Support » Mon Jun 01, 2009 10:52 pm

You can call checkBoxTree.getCheckBoxTreeSelectionModel() to get the selection model which tells you which tree path(s) are selected.
JIDE Software Technical Support Team
JIDE Support
Site Admin
 
Posts: 37219
Joined: Sun Sep 14, 2003 10:49 am

Re: CheckBox Tree

Postby jamindhar » Mon Jun 01, 2009 11:01 pm

hi,

i used

selectedElements.getCheckBoxTreeSelectionModel().getSelectionPaths() method to get the all selectionpaths.. but i need the information about particular parent..i.e
is there any method which will give you the information about selected chidls by taking parent node..?
and

is there any method which will tell you a particular node is selected or not?

Thanks,
Krishna Kumar Hotha
jamindhar
 
Posts: 18
Joined: Mon Aug 25, 2008 11:53 pm

Re: CheckBox Tree

Postby JIDE Support » Mon Jun 01, 2009 11:21 pm

That's all the APIs we provided. You can use TreePath API to get where you want.
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: No registered users and 64 guests