I have a panel with two tables A and B. When the row is selected in A, the contents of B should be enlarged.
My code defines row selection in fine. But, when the user clicks on the column heading to sort the rows, it seems that this is not taken into account in the table model.
So, I can get the selected row number (which is correct, given sorting), but when I try to get the contents of the row field from A using my table model, it gives me the values ββas if the rows were not sorted.
How to get the contents of a selected row from a selected row number?
source share