Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Turbo table: rowIndex attribute is not attached to event for onRowSelection event #5349

Closed
ccasallas opened this issue Mar 14, 2018 · 2 comments
Assignees
Labels
Type: Bug Issue contains a bug related to a specific component. Something about the component is not working
Milestone

Comments

@ccasallas
Copy link
Contributor

I'm submitting a:

[ ] bug report
[ x ] feature request
[ ] support request

Please attach rowIndex attribute to event object for onRowSelect event, for the following code only is attached to the event the data attribute:

<ng-template pTemplate="body" let-role let-rowIndex="rowIndex">
    <tr [pSelectableRow]="role" [pSelectableRowIndex]="rowIndex">
      <td>{{role.fullName}}</td>
    </tr>
</ng-template>

Or is there another way to get the rowIndex on row selection?

  • Angular version: 5.2.0
  • PrimeNG version: 5.2.0
@cagataycivici cagataycivici self-assigned this Mar 28, 2018
@cagataycivici cagataycivici added the Type: Bug Issue contains a bug related to a specific component. Something about the component is not working label Mar 28, 2018
@cagataycivici cagataycivici added this to the 5.2.4 milestone Mar 28, 2018
@cagataycivici
Copy link
Member

Merged PR

@ccasallas
Copy link
Contributor Author

thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Bug Issue contains a bug related to a specific component. Something about the component is not working
Projects
None yet
Development

No branches or pull requests

2 participants