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!

Default javafx scroll bar position

2936576May 12 2015

Hi,

I am having tableview at my .fxml file like below,

<TableView fx:id="tblViewer" prefHeight="340.0" prefWidth="800.0" styleClass="tableview" stylesheets="@ClsMain.css" />

I have select box of tables. When I am selecting any table all the data with columns populated into tableview. If columns are more, than tableview automatically render the horizontal scroll bar to it same for vertical scroll bar.

Problem is when I scroll to right end and if I am changing the dropdown selection it is not let me go to the left side. And some of the columns are truncated from the left. Like showing in the image.

scrollbar.png

Could you please help me out?

Kind regards.

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jun 9 2015
Added on May 12 2015
0 comments
542 views