-
Notifications
You must be signed in to change notification settings - Fork 1k
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
Add reset method to DataTable #1088
Comments
better provide an API to reset the data table and really helps a lot to set the DataTable to original state during clear or reload data etc. |
I suggest to have a function to enable/disable filter temporarily too. |
Hi @sonicwong, Could you please give me more details? |
@mertsincan But I found it is not easy to do, I have to:
|
@mertsincan Can you please help me on how to use the new reset() method. Do I call it from the table ref? Do you have an idea, of when will the milestone 3.3.3 be released? |
@MarioKrstevski Yes, you should call from the table reference like below. Hope this helps. private dt:any <DataTable ref={(el) => this.dt = el} this.dt.reset(); |
Would be good to be able to clear all filters with a single button click. This includes all column filters and the global filter.
[ ] bug report
[* ] feature request
[ ] support request => Please do not submit support request here, instead see
The same is available in the PrimeNg, please check the below url
primefaces/primeng#232
The text was updated successfully, but these errors were encountered: