display only the tabs which are used by the selected row

if multiple details are used
e.g. if two details have the same chilÃdren they w the tabs would be shown twice