This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
The moose likes Swing / AWT / SWT and the fly likes Add different combobox for each row of a column in a jtable Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "Add different combobox for each row of a column in a jtable" Watch "Add different combobox for each row of a column in a jtable" New topic
Author

Add different combobox for each row of a column in a jtable

Nidhii Sharma
Greenhorn

Joined: Dec 04, 2012
Posts: 4

I have a table, there are some columns in table. two columns has the combo box now what I want to do is,when user selects some value from column1 combobox, based on the user selected value column2 combobox should be populated. for example if user selects value1 from column1 combobox then column2 combobox will show values corresponding to value1 only.
please help its urgent..
Swastik Dey
Rancher

Joined: Jan 08, 2009
Posts: 1508
    
    5

Nidhi,

How much have you proceeded with your code. It would be good if you could please show us the code, we might be able to help you better.


Swastik
Nidhii Sharma
Greenhorn

Joined: Dec 04, 2012
Posts: 4


Swastik Dey wrote:Nidhi,

How much have you proceeded with your code. It would be good if you could please show us the code, we might be able to help you better.
 
Have you checked out Aspose?
 
subject: Add different combobox for each row of a column in a jtable
 
It's not a secret anymore!