1. #1
    Sencha User
    Join Date
    Feb 2011
    Posts
    12
    Vote Rating
    0
    alessiolu11484 is on a distinguished road

      0  

    Default Problem witn Picker

    Problem witn Picker


    If i want to create a Picker without data and in a second moment add rows to it... how can i do?

    I tried to create the picker with no data, data:null,data:[null]... and so on, but i have always the error
    "DataView requires tpl, store and itemSelector configurations to be defined."

    I can't believe there isn't a way to do it....

    Someone can help me? Thank you

  2. #2
    Sencha User
    Join Date
    Nov 2010
    Posts
    73
    Vote Rating
    0
    irfaniqbal is on a distinguished road

      0  

    Default


    Quote Originally Posted by alessiolu11484 View Post
    If i want to create a Picker without data and in a second moment add rows to it... how can i do?

    I tried to create the picker with no data, data:null,data:[null]... and so on, but i have always the error
    "DataView requires tpl, store and itemSelector configurations to be defined."

    I can't believe there isn't a way to do it....

    Someone can help me? Thank you

    you can do this like that:

    Code:
        pickerSlotArray = {
            name: 'test',
            title: 'Test',
            data: {text: 'Value 1', Value: 'value'}
        }
    
    var Picker = new Ext.Picker({
        slots: [],
        listeners: {
            beforeshow:function(picker){
                picker.add(pickerSlotArray);
            }
        }
    });
    hope this helps.

Similar Threads

  1. Problem with Date Picker(own Values)
    By eldiego34 in forum Sencha Touch 1.x: Discussion
    Replies: 0
    Last Post: 6 Sep 2010, 5:40 AM
  2. date-picker rendering problem
    By tkm in forum Ext 2.x: Help & Discussion
    Replies: 1
    Last Post: 27 Nov 2008, 3:11 PM
  3. edit DateField/Picker Problem
    By Kopernikus in forum Ext 2.x: Help & Discussion
    Replies: 3
    Last Post: 19 Aug 2008, 1:10 AM
  4. Problem Date picker
    By rajakrishnamca in forum Ext 2.x: Help & Discussion
    Replies: 3
    Last Post: 3 Jun 2008, 1:45 AM
  5. Problem with date picker
    By achebv in forum Ext 1.x: Help & Discussion
    Replies: 0
    Last Post: 2 Oct 2007, 12:01 PM

Thread Participants: 1

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