-
Notifications
You must be signed in to change notification settings - Fork 876
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 Range Filter #569
Comments
You can't just add a new filter type and put into smart table settings, try using entryComponent instead.
|
Thanks @kuccilim but the thing is this component is not know to smart table, they have this component that decides what to show as a filter template somehow i need to override this component, but i don't know how! |
Sorry, I thought filter can accept custom component. |
oh yes, that's another way of doing that, which is not really convenient. I mean in smart-table angularjs version, you could do all these sort of stuff easily, but it seems this one is not really matured yet :| |
so were you able to get this to work @shilan ? |
I am also looking for such filter, any update on the control? |
No, I made an ugly solution! I made a filter outside table and forced the html to stand on top of the column. You know with inner html trick. Sometimes it doesn’t work and I have no idea why. |
Thanks for the update :) |
I am trying to write a customized filter component, inspired by the checkbox, input select filters that smart table already has from here:
https://github.com/akveo/ng2-smart-table/tree/master/src/ng2-smart-table/components/filter/filter-types
But this doesn't really work. I mean the code compiles but I just don't know how to refer to that in setting property of the table.
I already tried the selector name (double-input-filter), doesn't work. I don't understand how in smarttable in the settings proprety of smart table, it does refer to the filter type.
Any idea if it is possible?
The text was updated successfully, but these errors were encountered: