When updating a correspondance type, the row gets sorted again and moves at the top
tfrancart opened this issue · comments
Thomas Francart commented
This does not happen when we update the validity
Thomas Francart commented
This is related to this : https://docs.oracle.com/javase/7/docs/api/javax/swing/DefaultRowSorter.html#setMaxSortKeys(int)
By default, the last 3 columns clicked are used to sort the table. By lowering this to the last 2 columns, we limit the risk of having the type column used for sorting.
When editing mapping types, this means we should first sort the tables on 2 columns other than the type to avoid rows changing position in the table