Replace tr click by a on row click call back