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

Publication Query/Options customization from MeteorGriddle properties #11

Open
zeroasterisk opened this issue May 10, 2016 · 5 comments

Comments

@zeroasterisk
Copy link

I know you can pass in a custom filter function, to create a query:
http://griddlegriddle.github.io/Griddle/customization.html#custom-filtering-and-filter-component

But is there any other way to pass through query or options details from the MeteorGriddle component?

In other words, I'd like to pass in a parameter from the current route --> container security validated data --> page --> component --> sub/pub

It seems reasonable to be able to pass in something "extra" but not have to write your own query function.

@zeroasterisk
Copy link
Author

I still have not found the right answer here... some way of passing in props to the MeteorGriddle which modifies the query sent to the pub/sub. Before I start my own (probably crappy) implementation, is there something easy that I'm missing?

@SachaG
Copy link
Contributor

SachaG commented Jul 17, 2016

I haven't looked at this code in a while so I might be wrong, but I don't think you can change the subscription query. The whole point of the component is to generate that for you based on the grid's options.

@ouya99
Copy link

ouya99 commented Jul 26, 2016

+1

@zeroasterisk
Copy link
Author

I created my own copy of this code and hacked it to death... got what i wanted though. Super-thanks for making this!

@Isarstyle
Copy link

+1

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

No branches or pull requests

4 participants