Gelmiş geçmiş en büyük porno sitemiz olan 2pe de her zaman en kaliteli pornoları sunmayı hedefledik. Diğer video sitemiz olan vuam da ise hd porno ağırlıklı çalışmalara başladık.

  1. #1
    Ext User
    Join Date
    May 2007
    Posts
    9
    Vote Rating
    0
    deepakjacob is on a distinguished road

      0  

    Default Extjs Form.getValues

    Extjs Form.getValues


    Hi, All

    When I call
    Code:
    this.form.getValues(false)
    I get all the form values.

    But again among these field values I have several date fields declared like

    Code:
     
    
    {
                fieldLabel :'Exam Date',
                name :'examDate',
                xtype:'datefield',
                format:'d-m-y'
            }
    Would like to get these objects as Javascript Date instances when I call
    Code:
    this.form.getValues(false)


    Thanks,
    DJ

  2. #2
    Sencha - Community Support Team jsakalos's Avatar
    Join Date
    Apr 2007
    Location
    Slovakia
    Posts
    27,506
    Vote Rating
    373
    jsakalos has a brilliant future jsakalos has a brilliant future jsakalos has a brilliant future jsakalos has a brilliant future jsakalos has a brilliant future jsakalos has a brilliant future jsakalos has a brilliant future jsakalos has a brilliant future jsakalos has a brilliant future jsakalos has a brilliant future jsakalos has a brilliant future

      0  

    Default


    That won't work out of the box. This is getValues method:
    PHP Code:
        getValues : function(asString){
            var 
    fs Ext.lib.Ajax.serializeForm(this.el.dom);
            if(
    asString === true){
                return 
    fs;
            }
            return 
    Ext.urlDecode(fs);
        }, 
    Jozef Sakalos, aka Saki

    Education, extensions and services for developers at new http://extjs.eu
    News: Grid Search Plugin, ExtJS 5 Complex Data Binding using MVVM


  3. #3
    Ext User
    Join Date
    May 2007
    Posts
    9
    Vote Rating
    0
    deepakjacob is on a distinguished road

      0  

    Default


    Hmm. Then how can I walk through the input components in a form ? I have seen the API documentation for BasicForm & FormPanel. But I didn't see a method like that

  4. #4
    Sencha - Community Support Team jsakalos's Avatar
    Join Date
    Apr 2007
    Location
    Slovakia
    Posts
    27,506
    Vote Rating
    373
    jsakalos has a brilliant future jsakalos has a brilliant future jsakalos has a brilliant future jsakalos has a brilliant future jsakalos has a brilliant future jsakalos has a brilliant future jsakalos has a brilliant future jsakalos has a brilliant future jsakalos has a brilliant future jsakalos has a brilliant future jsakalos has a brilliant future

      0  

    Default


    BasicForm has property items that holds all fields. You can use form.item.each(...) method.
    Jozef Sakalos, aka Saki

    Education, extensions and services for developers at new http://extjs.eu
    News: Grid Search Plugin, ExtJS 5 Complex Data Binding using MVVM


Thread Participants: 1