Hello,
I have an application with a SortableTable that allows both for users to remove rows from the table, and for rows to be removed programmatically. In both cases the removed item is selected (highlighted) before removal. After removal, however, behavior depends on if the table is sorted:
- if the table is unsorted, the next item in the table becomes selected
- if the table is sorted, some item elsewhere in the table becomes selected (corresponding to the row that would have been selected if the table had not been sorted).
I would like either for no item to be selected when the selected row is removed, or for the next row to be selected no matter what sorting is used. Is either behavior possible? Thanks.