Results 1 to 4 of 4

Thread: MixedCollection need to assin to store again

  1. #1

    Default MixedCollection need to assin to store again

    I have
    //Params myfieldname
    //Params myvalue
    var mixObj = mycombo.getStore().query("custname", infosystems)
    is retunning mixedcolletion
    I want to assign the query values to orginal store as
    myoriginalstore = mixObj ;
    I got 4 values based on query
    but i am not able to select those value from drop down
    and orginal filter is also gone(when user types first letter then only those values should show)

    any help on this?

  2. #2
    Sencha User Condor's Avatar
    Join Date
    Mar 2007
    The Netherlands


    You could use:
    But do you really want to remove the other records? Wouldn't it be more practical to filter the store?
    myoriginalstore.filter("custname", infosystems);

  3. #3
    Sencha User
    Join Date
    Feb 2011


    Hello all,

    I have same problem...How to assign the mixedCollection object to JsonStore of a combo
    when I directly assigning like

    var mixObj = myCombo.getStore().query('custId', 'infoSystems');
    myorignalStore = mixObj;

    values are assiging to combo
    but I am not able to select them from drop down (getting error as s= this.getAt() is not a function)& when I type first letter its not filtering in the filter values.

    I have tried by this way{records:});
    it didn't work for at all...
    I have one question... I didnt see any loadRecords() in API for store

    any body have any solution how to assign the mixedColletion object values to JsonStore of combo box?

  4. #4
    Sencha User Condor's Avatar
    Join Date
    Mar 2007
    The Netherlands


    loadRecords is private method.

    What exactly are you trying to do? This doesn't look like the correct solution.

Similar Threads

  1. fetching from MixedCollection
    By raj_plays in forum Ext 3.x: Help & Discussion
    Replies: 2
    Last Post: 17 Nov 2010, 1:41 PM
  2. Bind to MixedCollection
    By harley.333 in forum Community Discussion
    Replies: 3
    Last Post: 13 Jul 2009, 7:38 AM
  3. Replies: 2
    Last Post: 1 Oct 2007, 8:46 AM
  4. Grid and MixedCollection
    By lummie in forum Ext 1.x: Help & Discussion
    Replies: 1
    Last Post: 11 May 2007, 8:33 AM

Posting Permissions

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