Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Editable Data Grid

 
Fawad Ali
Ranch Hand
Posts: 116
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Ranchers:
I want to have a fixed column editable data grid in my application just like the excel grid so when user wants to edit it he is able to do so and whenever user wants to increase the number of rows he may do it. Can you help me in pointing to some work on this or to a work similar to this?

Thanks in advance
 
m Korbel
Ranch Hand
Posts: 174
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
- see Oracles JTable tutorial

- read Editors and Renderers

- data for JTables view are stored in Table Model

- for desired data types to override and to set proper ColumnClass

- add / remove a row from/to XxxTableModel directly
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic