text link collapsible set

text link collapsible set

How do create a collapsible set based on the text instead of the entire row?