display table only if some items are present
display table only if some items are present