I'm struggling with the datatable to get the amount of filtered elements.
I'm generating the columns dynamically from the items i get through an API and displaying them as :
Code: Select all
<DataTable value={this.state.data} footer = {footer} header={header} responsive={true} paginator={true} rows={20} rowsPerPageOptions={[5, 10, 20, 50, 100]} >
{columns}
</DataTable>
Any ideas?
Thanks for your help guys!