Win a copy of Java by Comparison (eBook) this week in the Java in General forum!

Suraj Panda

Greenhorn
+ Follow
since Jul 20, 2012
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
1
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Suraj Panda

Thanks for the suggestion. Have a look at my issue & help me...

After displaying data in JTable, Suppose i click on a row & then sort the row by clicking on the JTable header. After sorting, I click on update/delete button to edit the current selected user data.
But the data is coming at the row number while I clicked instead of actual row selected.

Ex:

Suppose I click on row num: 3 to update & then sort the row data. After sorting row num :3 comes to position : 6 . But while clicking on update button it takes the data of current row which is in row num: 3 instead of actual row num: 6.



Please suggest.

Thanks
Suraj
5 years ago
I have set data to jTable using DataModel, & want to perform CRUD operations.
But the problem is that IF click first & then sort the table data using rowsorter, then the previous selected value is retained.

Help me to update the currentselection value after sorting.


Reply appreciated


Thanks,
Suraj
5 years ago