Well, I was talking more about the simplest mechanism to avoid coding in each component an explicit call to selectRow.
Like some mouse event forwarding or something like that.
What I often do is to call setInterceptsMouseClicks (false, true), so that my child comps get clicked on, but clicks on the background fall through to the listbox.
Sorry, yes, I guess that’d only work for listboxes, not for tables. For a table, selecting the row isn’t default behaviour, so you’d need to explicitly select it yourself if you want that to happen.