dcsimg
JTable - last edited cell info not saved
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Virupakshan_K
Posted On:   Friday, October 11, 2002 10:09 PM

I use JTable for a simple application. The last edited cell informatin is not saved when I edit it and click on some other control in the application.



Interestingly, if I click on some other cell and click on other controls, the information is getting saved.


Is there a way to retain the last edited cell information in JTable without clicking on some other cell?

Re: JTable - last edited cell info not saved

Posted By:   Anonymous  
Posted On:   Sunday, October 20, 2002 11:49 PM

Hi,

Even I have faced the same problem. I had different solution for this problem. Once you edit the details in JTable, you will click some button to save the details. So in that button action performed, you change the focus to some other cell or some component and then do your save code. This solved my problem

Bye
About | Sitemap | Contact