Questions tagged [treetableview]

Questions about the usage of the JavaFx TreeTableView should use this tag.

150 questions
0
votes
0 answers

Javafx TreeTableView with HashMap values

It is relatively easy to populate a javafx treetableview column this kind of code: nameColumn.setCellValueFactory(new TreeItemPropertyValueFactory<>("name")); This way, the column nameColumn can be linked to the underlying datatype with the field…
0
votes
1 answer

Custom treetableview order

I have a treetableview which multiple columns. I like to order only by one column so I apply: treetbvItems.getSortOrder().add("categoria"); This order data by column "categoria" alphabetical but I want to apply my custom order. For example, if…
Marcos
  • 4,827
  • 3
  • 20
  • 28
0
votes
1 answer

Get variable from inside JavaFX TreeTable CellFactory Callback

I'm working with a JavaFX TreeTableView containing items of type BillingTableRow. I want the columns to be styled based on a value given by a method getType() in BillingTableRow, but I can't seem to access it from inside the callback that I'm trying…
0
votes
1 answer

JavaFX TreeTableView column setOnEditCommit() refuses to accept handler to save edited cell

In a project of mine, I'm using a TreeTableView from JavaFX to display some objects of type BillingTableRow. I have implemented a cell editor, but when I try to set the onEditCommit event, I am unable to get the content types to match. Here is my…
0
votes
1 answer

JavaFX: Add UI control to TreeTableView

Let's say i have 2 columns in a TreeTableView and now i want to add a string/Label in the first column and a ProgressBar in the other one. How would i accomplish something like this? Really appreciate any help!
user3713080
  • 399
  • 4
  • 17
0
votes
1 answer

How to implement a column headers spanning feature of TreeTableView control?

In the picture below (source) Balance column span Income and Spending columns. I can't found any information of how to achieve this... Any help appreciated
Andrey Morozov
  • 7,839
  • 5
  • 53
  • 75
0
votes
1 answer

JavaFX8 tree tabel view customize separate cells

In a tree-table-view there are child items that have in turn other child items. I need to customize, say, the text of certain cells of those pseudo-root items. Is there a way to assign a css class/style to those items? Update: Ok, got it working…
Mike Spike
  • 389
  • 8
  • 20
0
votes
1 answer

JavaFX8 tree table view custom root row

In my tree-table-view I have a root item which contains child items(I have mistakenly called them root items) that in turn have child items. I need to customize those mistakenly called root items rows text appearance. Is there such a selector or…
Mike Spike
  • 389
  • 8
  • 20
0
votes
1 answer

JavaFX8 TreeTableView notifications for scrolled items

I am writing an application that is using a JavaFX8 TreeTableView. The tree table has three columns, two of which are String properties (name and value) and one which has a Canvas widget in it that draws a picture from from data from a database…
rmeitz
  • 75
  • 7
0
votes
1 answer

JavaFX TreeTableView Remove Item ContextMenu

I have the following in my FXMLController: @FXML TreeTableView treeTblViewFiles; //... @Override public void initialize(URL url, ResourceBundle rb) { //... final ObservableList data = FXCollections.observableArrayList( …
Mike Spike
  • 389
  • 8
  • 20
0
votes
1 answer

How to hide header of TreeTableView?

Is there any way to hide the header of a TreeTableView in JavaFX? I am asking, because I have treestructured data which I always want to present within three columns, whereas two of them always will have the same size. So there is no need for the…
crusam
  • 6,140
  • 6
  • 40
  • 68
-1
votes
1 answer

Can tree column be hidden programmatically in TreeTableView of JavaFX?

I have a useful TreeTableView GUI view definition builder and would like to use in on tabular data where I don't need drill downs. I tried ... m_treeTableView.getTreeColumn().setVisible(false); ... but it doesn't hide the tree column. Any help?
Milan Novkovic
  • 126
  • 1
  • 2
  • 11
-1
votes
1 answer

Application with TreeTableView in JavaFX with FXML wont start

I am trying to build a simple application in JavaFX that uses TreeTableView to display items and a couple of buttons and textfields to input and delete stuff on those lists. But i cannot get the application to start. I am getting a Exception in…
Rebellinho
  • 33
  • 5
-1
votes
1 answer

Find intersection of row and column with same name in TreeTableView, JavaFX

Consider that I have a treetable in which some rows have same name as some columns. How can I find out those cells and set some value to them. The code bellow writes in all cells no, but as some row names (myItem) are equal to column name (Label), I…
Iman
  • 769
  • 1
  • 13
  • 51
-3
votes
1 answer

How to get the row count of a TreeTableView?

Edit: I now accept that the method TreeTableView.getExpandedItemCount() in fact appears to count all the TreeItems currently displayed. This makes this method one of the most egregiously badly named methods I have ever had the misfortune to come…
mike rodent
  • 14,126
  • 11
  • 103
  • 157
1 2 3
9
10