Questions tagged [javafx-tableview]
41 questions
0
votes
1 answer
Working checkboxes in JavaFX table (CheckBoxTableCell)
(This is similar to a homework question.)
I recently made an example UI in Scenebuilder for something I later had to program with Java Swing. That more or less worked. Now it is my task, not for the actual development of the program, but for…

Fabian Röling
- 1,227
- 1
- 10
- 28
0
votes
1 answer
JavaFX 8 TableView not populating from ObservableList (no FXML)
I believe I've searched all of the similar questions, but still am not seeing my issue anywhere. I am populating an ObservableList from a database which is succeeding per my Console output. I have a multiple controller setup for a school project…

Ian Cornett
- 35
- 1
- 7
0
votes
1 answer
What is right way to work with tableview?
For some time i have been trying to get my tableview work as kind of spreadsheet that is updated by background thread and when cell get updated, it for few seconds higlights ( changes style ) and then goes back to original style.
I already know,…

David S.
- 292
- 1
- 19
0
votes
1 answer
JavaFX TableView adding extra column for same data
I have a small app. With this app, I can add a new Employee record to a MySQL database and then display these records. buildData() retrieves data from the database and displays it in the TableView, I also call this method every time a new record is…

Ojonugwa Jude Ochalifu
- 26,627
- 26
- 120
- 132
0
votes
0 answers
JavaFx Table View Memory leakages
I have created table View in JavaFx 2x,It's has more than 10K rows and each row has 20 columns, Whenever table view is loading java heap old gen memory is increasing and it's not releasing. After loading the same table for 2-3 times(refresh button…

user3351400
- 11
- 2
0
votes
1 answer
Javafx TableCell When start editing, show old value
I have extended the TableCell class to render a date picker. Its graphic is a javafx.scene.control.DatePicker. I have had to do some onKeyPressed handling to handle tab, enter, and escape, and some other customizations to try to get this TableCell…

lmat - Reinstate Monica
- 7,289
- 6
- 48
- 62
-1
votes
1 answer
Javafx Table and Linechart
I wanna make a Table and a Linechart with with the Data from the Table. I already Createt a Table and a Linechart, but i dont know how to combine them. Thats how my table looks, but i need a Linechart with the data from the Observablelist. I need to…
-1
votes
1 answer
JavaFX: Blank rows in FXML TableView
I've been trying to add a row of information from my Product class to this tableView:
When I hit the add button and run:
productTableView.getItems().add(new Product(...)
It adds a blank row to my table:
Controller.java
import…

default
- 11
- 2
-2
votes
1 answer
How id and name are equals from databse to javafxtableview?
here is Consing.javahere is my table
This is my code.
public class TableViewByColumn extends Application{
@Override
public void start(Stage primaryStage) throws Exception {
ArrayList intValues = Consing.getInstance().getBook_ID();
…

Mg Cham Min
- 1
- 1
-2
votes
1 answer
How to SELECT specific table index in JAVAFX TABLEVIEW
I want to select specific index in my e.g tableview.index(0).getSelectedItem(); something like this. I did it but I can only select the last row. something like selectLast(); quiet similar to what I wanna do. How to do that in javafx, I'm quiet…

Raymond Cañete
- 17
- 7
-4
votes
1 answer
How do I get a label to add its value to an integer field or column in a table view in javafx
HERE IS THE CODE
@FXML
private void OK01(ActionEvent event)
{
rImg20.setVisible(false);
tv.setVisible(true);
String combo022 = combo02.getValue().toString();
del01.setVisible(true);
data.add(new InvoiceEntry(
(String) combo01.getValue(),
…

user7728803
- 1
- 2