CheckBoxTree - selecting a node

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 - selecting a node

Postby the4dk » Wed Sep 02, 2009 6:09 am

I have a CheckBoxTree and I want to select one particular node. I tried this:
Code: Select all
TreePath path=tree.getPathForRow(row);
((CheckBoxTree)tree).getCheckBoxTreeSelectionModel().addSelectionPath(path);


but it doesn't work :(

How can i select only one item (all parents should be partially selected)?
the4dk
 
Posts: 1
Joined: Mon Feb 09, 2009 9:51 am

Re: CheckBoxTree - selecting a node

Postby JIDE Support » Wed Sep 02, 2009 7:35 am

I tried the two lines in CheckBoxTreeDemo and it seems working. Could you try it and make a test case out of the CheckBoxTreeDemo to show that it doesn't work?

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: No registered users and 70 guests