Hi,
I'm trying to implement a feature where in a table, when you press the
arrow keys (up or down) it goes to the next row selects the data and does
something with it. However, when I try to get selection (by
getSelection()[0].getData()) it always returns the previous row's
information.
For example, say I'm currently at row 1, and I press down arrow key. The
selection goes to row 2 now. When I get the current selection in the
attached TraverseListener, it returns the data for row 1. So there is
always a phase difference of 1 in the selection. Can anyone give some
tips as to how I may address this?