Results 1 to 3 of 3

Thread: Store reload problem

  1. #1

    Default Store reload problem

    Hi

    I'm trying to reload a grid's store when the value of a textfield is changed. I'm trying this:

    Code:
     'change': function( field, newValue, oldValue ) {
    var ds = memberQuotationGrid.store;
    ds.reload({params: Ext.apply({commission:newValue}, ds.lastOptions.params)});
    },
    If I check the POST in firebug, the value of commission never changes - even if I hard code a value in.

    Any ideas?

    Best

    DF

  2. #2
    Sencha User fay's Avatar
    Join Date
    Apr 2007
    Location
    Ireland
    Posts
    1,750

    Default

    You have the parameters to Ext.apply the wrong way around. See: http://www.extjs.com/forum/showthrea...638#post400638

  3. #3

    Default

    Thanks.

    DF

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •