How to remove blue border from TableColumn in JavaFX during reordering

43 Views Asked by At

I'm working with JavaFX and facing an issue with the TableView component. Whenever I reorder a column, a blue border appears around the column and there is blue box of the header. Can i change the color of it?

enter image description here

I've tried various CSS approaches to override this styling, such as setting -fx-border-color to transparent and adjusting the :focused, :hover, and :pressed pseudo-classes for .table-view .column-header and .table-cell, but nothing seems to work.

Do anyone have a solution?

I tried

.root {
    -fx-focus-color: transparent;
    -fx-faint-focus-color: transparent
}

and many other solutions I found but none of them works.

0

There are 0 best solutions below