Skip to Main Content

Java SE (Java Platform, Standard Edition)

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.

Prevent certain cells in TreeView from being selected!?

cshFeb 10 2012 — edited Feb 10 2012
Hi,

is it possible to prevent certain cells in a TreeView from being selected?

I have a TreeView and the TreeItem's on the first "depth" should not be selectable.

I tried to add an EventHandler to the tree item and caught Event.ANY, but no event was dispatched, when a cell was selected.

Comments

Processing
Locked Post
New comments cannot be posted to this locked post.

Post Details

Locked on Mar 9 2012
Added on Feb 10 2012
1 comment
626 views