[CheckBoxTree] Restore a CheckBoxTreeSelectionModel

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] Restore a CheckBoxTreeSelectionModel

Postby julien1486 » Mon Dec 06, 2010 2:22 am

Hello !

I'm using a CheckBoxTree and I need to store the CheckBoxTreeSelectionModel in order to restore it later if the user cancel his change.
I was looking for a method like setCheckBoxTreeSelectionModel() but this method does not exist. Is there a reason for this ?

Thanks a lot for your answer,
Julien
julien1486
 
Posts: 3
Joined: Tue Nov 10, 2009 12:37 am

Re: [CheckBoxTree] Restore a CheckBoxTreeSelectionModel

Postby JIDE Support » Mon Dec 06, 2010 12:51 pm

It's just the design without specific reason. As a workaround, you could invoke CheckBoxTreeSelectionModel#getSelectionPaths[] and set it back to restore the selections.

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 64 guests