selects table also when clicking on columns with no action