This week's book giveaway is in the JavaFX forum.
We're giving away four copies of Introducing JavaFX 8 Programming and have Herbert Schildt on-line!
See this thread for details.
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 Introducing JavaFX 8 Programming this week in the JavaFX 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: 115
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: http://aspose.com/file-tools
 
subject: Editable Data Grid
 
It's not a secret anymore!