Quantcast
Channel: Ember.JS - Latest topics
Viewing all articles
Browse latest Browse all 4829

Dynamic queryParams - is it possible?

$
0
0

@rael.venturus wrote:

Hello there. I'm using Ember 2.4.1, and i'm getting trouble trying to run queryParams with dynamic values.

Long story short, the application needs to filter a table by it's columns, but the columns are user generated through the application... So, i need first to get the column results to build a queryParams array.

Problem is that queryParams is executed before the model (i guess), and trying to update it in the afterModel hook, or with an Ember.computed results in a non-functional queryParams. =/

I thought about something with initializer... but the columns generated is based on the selected product... so i don't know if it will be effective.

Does some one here have ever faced some issue like this? Is there a good way to deal with this problem?

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 4829

Trending Articles