add row click feature to table widgets