Questions about the usage of the JavaFx TreeTableView should use this tag.
Questions tagged [treetableview]
150 questions
0
votes
0 answers
TreeTableView multiple column header rows
I am having one TreeTableView and that table has one Column Header. Table has some data rows and those rows has some plus side at left side and if I clicked on that plus sign and it will fetch the data from the another table and that table also has…

php83
- 101
- 2
- 13
0
votes
0 answers
How i can edit TreeTableView javafx?
I have TreeTableView, with 2 columns(column1,column2). In first I have strings(names of properties), in second i have some info, what I want to change. And I can't find answer for my question all day. treeTableView is editable, column2 is editable.…

Владислав Цвирко
- 137
- 1
- 6
0
votes
1 answer
How to set style for first level child in treetableview
I want to set the top border just for all the first child so that for one child the data looks in one row.
but I'm unable to set the id for those rows. I tried the following code but it didn't help.
final PseudoClass firstRowClass =…

Harshita Sethi
- 2,035
- 3
- 24
- 46
0
votes
1 answer
How to fill the treeTableView correctly
I have a record in database which being get must be in the tree table view. Here is the filling method:
private void updateGoods(){
goodsPane.setCenter(goodTreeTableView);
List goodAndFoldersList;
try {
…

Nikitin Mikhail
- 2,983
- 9
- 42
- 67
0
votes
1 answer
How to supress Key Navigation Events for TreeTableView when ContextMenu is open?
When I add a contextmenu to a treetableview, it unfortunatly still reacts on KeyEvents which are not consumed by the contextmenu.
For example clicking on a subitem (Item22) opening its contextmenu and then klicking the left arrow the treetableview…

crusam
- 6,140
- 6
- 40
- 68
0
votes
1 answer
TableMenuButton dose not show name of columns which are saved as Label, JavaFx
I turned my column names as suggested here to labels so that I can get tooltip on their names:
for (Entry ent : dc.getSortedAssignedOrg().entrySet()) {
TreeTableColumn> col = new…

Iman
- 769
- 1
- 13
- 51
0
votes
1 answer
collapsing/ expanding treeitem changes cell values, in JavaFX
I have a treetable in which I setText for a cell when the name of it's row is equal to the name of it's column. It works successfully but, when I collapse or extend a treeitem or scroll down the value changes it's cell. How can I make overcome this…

Iman
- 769
- 1
- 13
- 51
0
votes
1 answer
Add up childern values and write them in parent, JavaFX
I have creating this treetable
Now I want to sum up th children values and show the result in the parent cell under the related column. For example for Function 7 in column 2 and row 2 I want to right 2.0, and for Function 11 column 4 row 4 right…

Iman
- 769
- 1
- 13
- 51
0
votes
1 answer
setting the value of parent according to its children for each column in TreeTableView JavaFX
The function bellow creates a treetableview, which has this structure:
As you see for example there is no value for parents with child. I need to add the value of children (their weight) together and set the text of related parent to this value for…

Iman
- 769
- 1
- 13
- 51
0
votes
1 answer
filling TreeTableView in fxml dynamicly from JavaFX
I want to fill a TreeTableView dynamically. I have created the view with Scenebuilder. In MyController I have a Draw button which by cliking calls a method, which makes a treetable. I have references set. when i click the button only columns are…

Iman
- 769
- 1
- 13
- 51
0
votes
0 answers
Data Type in tree for treetableview JavaFX
How can i add children as ArrayList to root and set setCellValueFactory in JavaFx . I want to show second item as text for each node, and use the first one for other computation. the ArrayList has the size of 2 for each node.
@Override
public void…

Iman
- 769
- 1
- 13
- 51
0
votes
1 answer
How to create column and set name in JavaFx TreeTableView
how can i create column and set their name from a list of String in JavaFx. Is there a methode like public String getColumnName(int column) and getColumnCountas in swingx in JavaFx?

Iman
- 769
- 1
- 13
- 51
0
votes
1 answer
Applying CSS on JavaFx TreeTableView fails
I'm trying to apply some CSS on JavaFx8 TreeTableView and when I run the application I get
Feb 04, 2015 9:13:24 AM com.sun.javafx.css.StyleManager loadStylesheetUnPrivileged
WARNING: Resource "font-size: 10px;" not found.
and here is the code I'm…

Khafaga
- 1,537
- 4
- 15
- 24
0
votes
1 answer
Getting TreeTableView working
I had a Tableview which I am trying to convert into TreeTableView. Getting it populated is not getting any easy for me. Here is the relevant code. How do we populate the TreeTable Column and can we dynamically populate TreeItem
From…

jay
- 101
- 1
- 3
- 13
0
votes
0 answers
Java FX TreeTableView changes don't display
I have some simple code which unlinks a TreeItem from a TreeTableView (from its parent TreeItem's children list), then links it back in as a new child of the prior sibling. For example, if the structure is:
A
B
C
D
…