Skip to content
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

Custom Filtering #632

Closed
jorgearal opened this issue Dec 5, 2017 · 2 comments · Fixed by #825
Closed

Custom Filtering #632

jorgearal opened this issue Dec 5, 2017 · 2 comments · Fixed by #825

Comments

@jorgearal
Copy link

I'm looking for adding a custom filter to my table. I have some dates to filter and I'm looking for a usable way to filter them. I have tried with editing the following file, adding this to the template and an Input:
https://github.com/akveo/ng2-smart-table/blob/master/src/ng2-smart-table/components/filter/filter.component.ts

<div *ngSwitchDefault [innerHTML]="customComponent"> </div>

@Input() customComponent: Filter ;

In addition to this, my custom filter component extends of Filter, but it doesn't work

Overmore, I couldn't make the Input works, not even as string

How can I achieve a custom filtering based on components?

@sravank84
Copy link

I have the same issue, I am trying to use a Datepicker or a DateRangePicker for a date column filter. Can someone please help ? Any help is much appreciated.

@alexandr-efimov
Copy link

Any updates, guys?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants