Gabriel95 / scalafx

Automatically exported from code.google.com/p/scalafx
Other
0 stars 0 forks source link

Cannot create nested columns in TableView #44

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
It should be possible to create nested columns using following code:
  new TableColumn[Person, String] {
    text = "Name"
    columns +=(firstNameColumn, lastNameColumn)
  }

Currently it will result in an empty column, no content.

A workaround is to use:
  new TableColumn[Person, String] {
    text = "Name"
    delegate.getColumns.addAll(firstNameColumn, lastNameColumn)
  }

Original issue reported on code.google.com by jpsacha on 1 Mar 2013 at 6:09

GoogleCodeExporter commented 8 years ago

Original comment by jpsacha on 1 Mar 2013 at 10:09