[DONE] Row grouping and total row in table view

Some improvements for self-relation in latest release