[CLOSED] store load first page with parameters

  1. #1

    [CLOSED] store load first page with parameters

    Hi All,

    Is it possible to load first store page on reload?

    Something like that:
    #{myGrid}.getStore().loadPage(1, {
                           params: {
                                site: item.storeItem.data['myParam']                            
                            }
                        });
    Thank you.
    Last edited by Daniil; Oct 15, 2015 at 5:51 AM. Reason: [CLOSED]
  2. #2
    Hi @rbtceo,

    Sorry, the requirement is a little unclear to me.

    It looks like the loadPage method supports passing a load options.
    http://docs.sencha.com/extjs/4.2.1/#...ethod-loadPage

    I would expect your code working, but I guess it doesn't work for you. Could you, please, provide a test case?
  3. #3
    Thank you, Daniil.

    It is all good. I made a mistype.

Similar Threads

  1. Replies: 1
    Last Post: Sep 16, 2015, 12:55 PM
  2. Replies: 5
    Last Post: Feb 05, 2015, 12:14 PM
  3. [CLOSED] Parameters or variables sent from parent page
    By JCarlosF in forum 2.x Legacy Premium Help
    Replies: 8
    Last Post: Sep 16, 2013, 11:17 AM
  4. Populating ComboBox from Store on page load
    By ikhwanhayat in forum 1.x Help
    Replies: 7
    Last Post: Feb 06, 2012, 3:56 PM
  5. Replies: 2
    Last Post: Oct 11, 2011, 1:15 PM

Tags for this Thread

Posting Permissions