Reset Datatable

UI Components for React
Post Reply
saachinsiva
Posts: 1
Joined: 13 Mar 2019, 17:52

13 Mar 2019, 18:18

Hello

I am using PrimeReact Datatable and wondering how do I reset datatable? I have used it in Angular (PrimeNg) and it has reset method, which reset all the filters. Im not sure how to do the same in React. I tried setting the state that holds the filters to emtpy object but the value on the UI remains there in the text box.

Thanks

Post Reply

Return to “PrimeReact”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 2 guests