문제

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.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top