Styling Expanded Rows

UI Components for Vue
Post Reply
coryengel
Posts: 4
Joined: 19 May 2021, 17:58

01 Sep 2022, 19:28

We are using the DataTable component with styled rows. We make use of the rowClass property to adjust the bacjground color of the rows based on certain conditions.

We also use the Expanded Rows functionality and would like to extend the same background color to the Expanded Rows as the main rows. We know about the p-datatable-row-expansion style, but this appies to all expanded rows, and not conditionally.

How can we apply the same styles we use via the rowClass property to the expanded rows?

Post Reply

Return to “PrimeVue”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 4 guests