Maintain the p-tree selection state between mat-tabs navigation events

UI Components for Angular
Post Reply
Posts: 1
Joined: 26 Jun 2020, 12:06

26 Jun 2020, 12:10

I have added a p-tree component into a mat-tab-content component in Angular 8 application.

I'm using checkboxes in order to select one or more specific items inside the p-tree component.

The behavior is correct, but when I change between tabs, and return again to the p-tree parent tab, the p-tree is rendered, but the status of the selected items is not remembered.

Is there any way to maintain, between tabs navigation events, the status of the p-tree selection?

Thanks in advanced

Post Reply

Return to “PrimeNG”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 14 guests