File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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
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: 116
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: 174
- 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:
subject: Editable Data Grid
It's not a secret anymore!