this can be done via css with
.table-view .arrow {
-fx-background-insets: 0;
-fx-padding: 0;
-fx-shape: " ";
}
سؤال
Is there any way to remove sort indicator/arrow from sorted tablecolumn in javafx 2.2 table columns ?
المحلول
this can be done via css with
.table-view .arrow {
-fx-background-insets: 0;
-fx-padding: 0;
-fx-shape: " ";
}
نصائح أخرى
This worked for me:
.no-sort-icon .column-header,
.no-sort-icon .column-header .arrow {
-fx-background-image: null;
}
Then you add "no-sort-icon" to the tableView's style classes.