Creating expanded <div> as a row in TreeTable

UI Components for React
Post Reply
jake02
Posts: 5
Joined: 28 Oct 2018, 01:40

08 May 2019, 16:48

I have a use case wherein upon expansion of a child node, in the space where a new row would normally be created, I need an <div> of content expanded down and across the width of the table. This functionality exists in DataTable with rowExpansion https://www.primefaces.org/primereact/# ... /rowexpand and a provided rowExpansionTemplate. How would I go about doing this with the TreeTable component?

I've looked into applying a column body template, but that only applies to the cell of each respective column. If this feature isn't obtainable, I will gladly add it as a feature request, something like DataTable row group would probably do the trick.

Post Reply

Return to “PrimeReact”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 3 guests