Expose toggleRow for DataTable #1644

Closed
cagataycivici opened this Issue Dec 20, 2016 · 0 comments

Projects

None yet

1 participant

@cagataycivici
Member

toggleRow is a method to expand a row programmatically where it gets the row data to expand/collapse as a parameter. It is useful to implement cases like toggling a row on click such as;

<p-dataTable (onRowClick)="dt.toggleRow($event.data)" #dt ...
@cagataycivici cagataycivici added this to the 1.1.1 milestone Dec 20, 2016
@cagataycivici cagataycivici self-assigned this Dec 20, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment