Refactor selectable table to only emit event.