• 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 Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Two JTable questions

 
Ranch Hand
Posts: 62
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi, I've got 2 questions...
1. How can I set a vertical Header (TableHeader) on the left side? How can I set a left AND a top TableHeader?
2. How can I identify a Table Row? Is there a Way to set an ID per Row and read it out later? I'm not talking about hot to get the Row index (getSelectedRow())...
Thanks
Praiser
 
Ranch Hand
Posts: 61
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello Meyer,


1. How can I set a vertical Header (TableHeader) on the left side? How can I set a left AND a top TableHeader?


Look at RowHeader examplehere


2. How can I identify a Table Row? Is there a Way to set an ID per Row and read it out later? I'm not talking about hot to get the Row index (getSelectedRow())...


Not very sure, but my guess is that you will have to get/set those row ids in the vector/array etc where you put other data to be displayed in table.
HTH
Ashish
 
reply
    Bookmark Topic Watch Topic
  • New Topic