wood burning stoves 2.0*
The moose likes Swing / AWT / SWT and the fly likes Editable Data Grid Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "Editable Data Grid" Watch "Editable Data Grid" New topic
Author

Editable Data Grid

Fawad Ali
Ranch Hand

Joined: Dec 28, 2009
Posts: 112
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


Regards, Fawad Ali.
Software Engineer, Stafona Inc. - My Blog
m Korbel
Ranch Hand

Joined: Jun 19, 2012
Posts: 155
- 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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Editable Data Grid