Dataframe: give name to column which is triggered by selection

I dont know if I fully follow your question, but I basically display lets say 5 columns of my table, where 5th is “Show Details” and thats a check box, when you click the box then a panel underneath gets displayed with the rest of the info - Im not sure if youre asking about the code or just the concept