Jul 05, 2011, 10:07 AM
[CLOSED] Setting baseParams for JsonStore at runtime via javascript
Hi
I am trying to create JsonStores depending upon user's choice from a drop down menu at runtime via javascript. I also create a ColumnModel and reconfigure a Grid, which I use to show search results, with the JsonStore and ColumnModel. All then is set for the actual search to be carried out via store.load() - the store has had a proxy url set.
However, when load() is called the controller carrying out the search is not accessed. I think I have narrowed this down to BaseParams not being created correctly when the JsonStore is created.
Without posting code at this stage - I have had various attempts at creating the BaseParams- is there a defined way of creating the basePArams?
thanks
I am trying to create JsonStores depending upon user's choice from a drop down menu at runtime via javascript. I also create a ColumnModel and reconfigure a Grid, which I use to show search results, with the JsonStore and ColumnModel. All then is set for the actual search to be carried out via store.load() - the store has had a proxy url set.
However, when load() is called the controller carrying out the search is not accessed. I think I have narrowed this down to BaseParams not being created correctly when the JsonStore is created.
Without posting code at this stage - I have had various attempts at creating the BaseParams- is there a defined way of creating the basePArams?
thanks
Last edited by Daniil; Jul 11, 2011 at 9:36 AM.
Reason: [CLOSED]