p-tableCheckbox no refresh on ngOnInit

UI Components for Angular
Post Reply
Posts: 8
Joined: 05 Nov 2015, 15:06

07 Jul 2018, 18:59


I'm trying in my ngOnInit function to load my selected list however when I see the view of my page they do not appear as selected.

Posts: 1
Joined: 24 Oct 2019, 10:49

24 Oct 2019, 11:03

don't push it in array instead concatenate the value to the array.

Ex: this.selectedRows= this.selectedRows.concat(row);

Post Reply

Return to “PrimeNG”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 0 guests