Consolidate data-tables click and double click implementations