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

Allow user to customise the filter row #29

Open
charlespockert opened this issue Jul 11, 2015 · 2 comments
Open

Allow user to customise the filter row #29

charlespockert opened this issue Jul 11, 2015 · 2 comments
Milestone

Comments

@charlespockert
Copy link
Owner

User should be able to specify a filter row template which allows a user to provide a different control for filtering (dropdown etc)

This should somehow call back to the grid to let it know the filter has changed (maybe just bind to the filterValue field on the column which can be tracked for changes by the grid)

@charlespockert charlespockert added this to the v0.0.2 milestone Jul 11, 2015
@moshensky
Copy link

Hi, have you done something already or do you have more detailed plan how you'd like it to look like. I need more functionality from this filter and may have to hack something quick. I prefer either to wait some time or write some code which could be contributed to this plugin. In both cases I'd like to hear a few words from you :).

Please write me to skype: nikita.moshenski or [email protected] (if you'd like to of course :) )

@charlespockert
Copy link
Owner Author

Hi @moshensky - the idea was just to have custom HTML in the filter (probably a custom element) which knows how to supply a filter value to the grid

e.g. something like

<grid-filter field="someIDForTheColumn">
   <some-custom-element></some-custom-element>
</grid-filter>

Just need to work out how the element passes the filter - maybe just ref the grid:

<grid ref="myGrid">

And then call that from your VM code:

myGrid.applyFilter(filterColumnName, value);

Not done any work on it yet :)

@charlespockert charlespockert modified the milestones: v0.0.3, v0.0.2 Jul 19, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants