0

I have a nested column table in javafx. Table columns and row created dynamically. Table values are not consistently filled. Some cells are empty.

I need to know is there a way to set values cell by cell through a loop or something.

For a example, this is my column data model:

 TableColumn<RoomRatesTableModel, String> outerColumn1 = new TableColumn<>("Y");
 innerColumn3.setCellValueFactory(new PropertyValueFactory<RoomRatesTableModel, String>("gender"));

I want to add data to table view without using the data model, is it possible?

4
  • 1
    no ............ Commented Jul 26, 2018 at 13:30
  • Possible duplicate of javafx tableview data from List Commented Jul 26, 2018 at 14:30
  • 1
    This is probably better. Commented Jul 26, 2018 at 14:41
  • @Sedrick can you suggest me a way to this-> " I need to know is there a way to set values cell by cell through a loop or something" Commented Aug 12, 2018 at 23:45

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.