Skip to content

PrimeNG table: row selection not working #2928

Answered by kvea2git
kvea2git asked this question in PrimeNG
Discussion options

You must be logged in to vote

I had omitted the iterator variable on the body template. I had

<ng-template pTemplate="body" let-release>
  <tr [pSelectableRow]>

where I needed

  <ng-template pTemplate="body" let-release>
    <tr [pSelectableRow] = "release">

I should have put more of the p-table code on the question. This did work before the framework upgrade. I edited it for other reasons and introduced this. Thanks anyway

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
2 replies
@kvea2git
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by kvea2git
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants