aspose file tools
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 The Software Craftsman this week in the Agile forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "Editable Data Grid" Watch "Editable Data Grid" New topic

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: 161
- 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
Don't get me started about those stupid light bulbs.
subject: Editable Data Grid