display only the tabs which are used by the selected row

if multiple details are used
e.g. if two details have the same children the tabs would be shown twice