1. #1
    Sencha User
    Join Date
    Oct 2013
    Posts
    5
    Vote Rating
    0
    uma.sv is on a distinguished road

      0  

    Default Ext.create('Ext.form.Panel') VS xtype: 'form'

    Ext.create('Ext.form.Panel') VS xtype: 'form'


    Hi ,
    I am new to EXTJS .I am trying to create a combo with in the form .if I try to create the store for combo in the below format with Ext.create('Ext.form.Panel') ,I am able to view the combo .But if I do the same with xtype: 'form' I am getting the error
    TypeError: Ext.data.SimpleStore is not a constructor



    store: new Ext.data.SimpleStore({

    Code snippet:
    xtype: 'combo',
    fieldLabel: 'Code',
    store: new Ext.data.SimpleStore({
    data: [
    ['SN'],
    ['TX'],
    ['LM'],
    ['OK']
    ],
    fields: ['text']
    })

    If some one can resolve the above problem ,it will be more helpful

  2. #2
    Sencha User steffenk's Avatar
    Join Date
    Jul 2007
    Location
    Haan, Germany
    Posts
    2,664
    Vote Rating
    7
    steffenk has a spectacular aura about steffenk has a spectacular aura about steffenk has a spectacular aura about

      0  

    Default


    There is no SimpleStore. Use the documentation to fix your code - what you're looking for is the ArrayStore.
    vg Steffen
    --------------------------------------
    Release Manager of TYPO3 4.5

  3. #3
    Sencha Premium Member
    Join Date
    Dec 2011
    Posts
    42
    Vote Rating
    9
    jcdang will become famous soon enough

      0  

    Default


    I think there was a SimpleStore in ExtJS-3.

  4. #4
    Sencha User
    Join Date
    Oct 2013
    Posts
    5
    Vote Rating
    0
    uma.sv is on a distinguished road

      0  

    Default


    I want to store the the values that I need to populate in the drop down .

Thread Participants: 2

Turkiyenin en sevilen filmlerinin yer aldigi xnxx internet sitemiz olan ve porn sex tarzi bir site olan mobil porno izle sitemiz gercekten dillere destan bir durumda herkesin sevdigi bir site olarak tarihe gececege benziyor. Sitenin en belirgin ozelliklerinden birisi de Turkiyede gercekten kaliteli ve muntazam, duzenli porno izle siteleri olmamasidir. Bu yuzden iste. Ayrica en net goruntu kalitesine sahip adresinde yayinlanmaktadir. Mesela diğer sitelerimizden bahsedecek olursak, en iyi hd porno video arşivine sahip bir siteyiz. "The Best anal porn videos and slut anus, big asses movies set..." hd porno faketaxi