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.
by staiger » Wed Nov 07, 2012 8:21 am
Hello,
I try to call installSearchable for my tree (which uses StyledLabels as nodes).
But the leaf nodes where not found.
Is there a solution for this problem?
Thanks
Norbert
-
staiger
-
- Posts: 13
- Joined: Wed Mar 03, 2010 3:17 am
by JIDE Support » Wed Nov 07, 2012 11:17 am
Please override the TreeSearchable#convertElementToString() to achieve your goal.
- Code: Select all
new TreeSearchable(tree) {
@Override
protected String convertElementToString(Object object) {
// convert your node here
return super.convertElementToString(object);
}
};
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 6 guests