register show/hide events for table widget