Search code examples
angularag-gridag-grid-angular

AG-GRID: Is there a way to have expand/collapse functionality on a row and show custom content in the expanded area?


We need to have the ability to expand/collapse individual rows and when expanded show custom (angular) components in the area below the row, which will receive as input some of the data of the expanded row.

The closest thing we found is the Master/Detail feature of the enterprise version, but we don't want to display a nested table within, we want to have custom content.

similar to this this


Solution

  • You could use Master-details feature of .

    The feature is available with enterprise license.

    Reference: Example - Custom Detail Cell Renderer