I have a question based around TreeTableViews and its rows. I have created a treetableview of objects I named Component, and I have 3 classes of component, that I will name A, B, and C. In my project, B objects are contained on A, and C objects are contained on B objects. I was able to show the TreeTableView with those 3 levels of Components, but now I would like to add some CSS in this table to be able to have certain caracteristics:
-First of all i would like A objects' size to be bigger than B objects and same for C, for this T tried stuffs like this based on what I've seen on the internet:
.tree-table-cell {
-fx-font-size: 11pt;
}
.tree-table-cell:sub-tree-item {
-fx-font-size: 9pt;
}
But it seems like it's not working...
-Then I would like to be able to had like a separator between each A component, just for the visibility of the table
-And finally I would like the selected item and all his tree node (if C is selected it means, the C element + its parent B + its parent A) to be bold or something to identifiate it directly. For this I tried to apply some simple CSS on this class:
.tree-item:selected {
-fx-font-weight: bold;
}
without any success...
In fact i'm not able to manipulate my TreeItems as i would like (adding some StyleSheets Class in TreeItem is not possible).
I hope i was enough clear. Thanks for your help