enable tr onclick trigger when changing table pages