Skip to Main Content

DevOps, CI/CD and Automation

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!

Disable auto-selection on right click on ojTable

3608145Dec 21 2017 — edited Dec 30 2017

When I right-click a row and then hover over other rows, every row starts to get auto-selected. How can I prevent this behavior? I would like to keep my original selection with left-click and avoid any selection from right clicking.

This behavior can be observed on this table from the cookbook.

http://www.oracle.com/webfolder/technetwork/jet/jetCookbook.html?component=table&demo=selectableTable

Comments

Timo Hahn
Answer

You can download the jdk doc from https://www.oracle.com/java/technologies/javase-jdk8-doc-downloads.html
Put the zip file somewhere local on your machine. Then open JDeveloper and select the menu tools->'manage libraries'. There you select the 'Java SE definition' tab and select the JDK version you are using
image.pngclick on the 'Doc Path' and select 'Add Entry' button. In the file dialog that opens, you go to the directory where you put the zip file and open it and select the 'docs/api' folder. Then save everything and restart JDev.
Then you'll get the javadoc you are missing.

Timo

Marked as Answer by ChristianM0147 · Jul 9 2021
ChristianM0147

Unfortunately it did not work. I did exactly what you described.
image.pngBut it seems that it has no effect.
image.pngDo you know what i may be missing?
Kind Regards

Timo Hahn

Well, you are looking at the code for the method and not the documentation. Select the 'Documentation' tab below the 'Element has no details' and you see the javadoc.
image.png
If you want to see the code you can download the jdk source and add the zip to the source path (in the manage libraries) where you added the path to the docs.

Timo

ChristianM0147

Oh... My bad. Thank you very much!

1 - 4

Post Details

Added on Dec 21 2017
7 comments
245 views