posted 21 years ago
Hi,
I am trying to do some work with Jtable but need to know if it can be done for sure before i go ahead with it.
I am trying to insert some data into a database table using JTable .... Intially when it starts the Jtable needs to start with only one row and .. and it needs to needs to add more rows one by one when one of the columns gets focus. there are totally 6 columns .. in which 3 of them are regular textfields .. but the other three.. when u enter the data it should be like a combo box. .. where u just select from the list .. and the options in the 2nd and 3rd combo boxes depend on the option chosen in the first one. that was when i eneter data into the databae ..
now when i need to display data .. the function should be somewhat the same .. the numbers of rows should be equal to the number of rows in the database ... and should be able to modify the data.
Can somebody who knows Jtable well tell me if this can be done ... and give me an idea as per how to do this one .
Thanks in advance ,
sandsouza