• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Jeanne Boyarsky
  • Devaka Cooray
  • Paul Clapham
Sheriffs:
  • Tim Cooke
  • Knute Snortum
  • Bear Bibeault
Saloon Keepers:
  • Ron McLeod
  • Tim Moores
  • Stephan van Hulst
  • Piet Souris
  • Ganesh Patekar
Bartenders:
  • Frits Walraven
  • Carey Brown
  • Tim Holloway

Labels for TabelView Rows

 
Ranch Hand
Posts: 176
2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Is there a way to set labels in a column for each row in a tableview?

i.e
header1Source 1Source 2
LettersABCDABCD
Numbers12341234
FruitApplesOranges

Looking at this to populate a table with data from a database for comparison purposes.
 
John Morgan
Ranch Hand
Posts: 176
2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Sorry the table did not come out the way I meant to...

LABELSource 1Source 2
LettersABCDABCD
Numbers12341234
FruitApplesOranges


All the information under the first column will be static but the other information will be dynamic.
 
John Morgan
Ranch Hand
Posts: 176
2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I got an answer on StackOverFlow. For anyone on this group that maybe looking.

https://stackoverflow.com/questions/49564869/javafx-row-headers

You can, obviously, just add a specific column and style it differently; however there is no way to make it so that column doesn't scroll vertically with the other columns. As noted above, ControlsFX has a SpreadsheetView which has this functionality, however I am not sure how well-maintained this is. – James_D
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!