[CLOSED] Setting baseParams for JsonStore at runtime via javascript

  1. #1

    [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
    Last edited by Daniil; Jul 11, 2011 at 9:36 AM. Reason: [CLOSED]
  2. #2

Similar Threads

  1. [CLOSED] javascript error while setting combobox first value
    By ISI in forum 1.x Legacy Premium Help
    Replies: 2
    Last Post: Aug 26, 2011, 2:22 PM
  2. Get baseParams from Store in Javascript
    By Waltheer in forum 1.x Help
    Replies: 0
    Last Post: Mar 09, 2011, 12:24 PM
  3. Replies: 4
    Last Post: Feb 21, 2011, 10:02 PM
  4. Replies: 0
    Last Post: Sep 22, 2010, 10:43 AM
  5. [CLOSED] Set FieldLabel in JavaScript at runtime
    By macap in forum 1.x Legacy Premium Help
    Replies: 11
    Last Post: Jul 17, 2010, 5:31 AM

Posting Permissions