-
Notifications
You must be signed in to change notification settings - Fork 4k
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
Set initial filter to nz-table component #1872
Labels
Comments
we will try to support in in next version. |
@oluevano You can check the deploy preview. Is that what you need? |
wzhudev
pushed a commit
to wzhudev/ng-zorro-antd
that referenced
this issue
Jul 28, 2018
close NG-ZORRO#1872 add spec and fix bug
wzhudev
pushed a commit
to wzhudev/ng-zorro-antd
that referenced
this issue
Jul 28, 2018
close NG-ZORRO#1872 add spec and fix bug
wzhudev
pushed a commit
to wzhudev/ng-zorro-antd
that referenced
this issue
Jul 28, 2018
close NG-ZORRO#1872 add spec and fix bug
wzhudev
pushed a commit
to wzhudev/ng-zorro-antd
that referenced
this issue
Aug 3, 2018
close NG-ZORRO#1872 add spec and fix bug
wzhudev
pushed a commit
to wzhudev/ng-zorro-antd
that referenced
this issue
Aug 3, 2018
close NG-ZORRO#1872 add spec and fix bug
vthinkxie
pushed a commit
that referenced
this issue
Aug 3, 2018
@wendzhue. thank you so much, i will try this feature! and send you comments! |
I tried the feature and it's ok!. Thank you so much!. |
wenqi73
pushed a commit
to wenqi73/ng-zorro-antd
that referenced
this issue
Aug 27, 2018
This thread has been automatically locked because it has not had recent activity. Please open a new issue for related bugs and link to relevant comments in this thread. |
hsuanxyz
pushed a commit
to hsuanxyz/ng-zorro-antd
that referenced
this issue
Aug 5, 2020
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
What problem does this feature solve?
Currently in my "nz-table" component in the header column can i set filterList in the nzFilters (input component parameter) but i can't set initial filter.
Can you help me with this wish?
Thank you
What does the proposed API look like?
I propose when set filterList input parameter on the header column, add one flag to set initial filters based on the filterList inputParameter and after this tirrger event "nzFilterChange", with this initial filter.
For example
To the [nzFilters] input parameter -> [{text: 'anyText' , value: 'anyValueId' }]
change To
[nzFilters] -> [{text: 'anyText' , value: 'anyValueId', selected : <true/false> }]
The text was updated successfully, but these errors were encountered: