brunano21 / angular-4-data-table

An Angular 5 data table, with pagination, sorting, expandable rows, row selection, etc. with basic accessibility support.
MIT License
11 stars 19 forks source link

How can I call reload from an external button? #50

Closed luidiva closed 6 years ago

luidiva commented 6 years ago

Hi, how are you doing?

I am creating some filters and I need to call "reloadItems" method but I need the params. How can I call reloadItems or get access to datatable search params?

Thank you in advance.

luidiva commented 6 years ago

Found the solution: @ViewChild(DataTable) myTable: DataTable;

Thank you