1. #1
    Sencha User
    Join Date
    Feb 2012
    Location
    India
    Posts
    49
    Vote Rating
    0
    Shafnas is on a distinguished road

      0  

    Default Unanswered: AutoLoad Panel not working

    Unanswered: AutoLoad Panel not working


    Hi, In sencha 2 , will autoLoad work for panel???

    Code:
    xtype:'panel', width:530, height:40,
                            autoLoad:{
                                    url: '/test/test.cfc',
                                    params: {method: 'gettestDetail', ID: dataRecord.ID},
                                    nocache: true,
                                    text: 'Loading...',
                                    timeout: 30,
                                    scripts: false
                                }
    This is not showing any data in sencha..The cfc returns a html data with table layout.
    But its working in ExtJs-4 in my desktop version..What might be the reason???

    Please help me...

  2. #2
    Sencha User
    Join Date
    Feb 2012
    Location
    India
    Posts
    49
    Vote Rating
    0
    Shafnas is on a distinguished road

      0  

    Default


    Please some one helpp...

  3. #3
    Sencha User
    Join Date
    Apr 2012
    Location
    ShenZhen, China
    Posts
    52
    Answers
    11
    Vote Rating
    3
    liaoyiwu is on a distinguished road

      0  

    Default


    Seemingly, sencha touch2 has no such config


  4. #4
    Sencha User
    Join Date
    Feb 2012
    Location
    India
    Posts
    49
    Vote Rating
    0
    Shafnas is on a distinguished road

      0  

    Default


    so, what can i do to load the data to this panel??

  5. #5
    Sencha User
    Join Date
    Apr 2012
    Location
    ShenZhen, China
    Posts
    52
    Answers
    11
    Vote Rating
    3
    liaoyiwu is on a distinguished road

      0  

    Default


    try the data and tpl config
    below is from the sencha api
    data : Mixed
    The initial set of data to apply to the tpl to update the content area of the Component.
    Defaults to: null


Thread Participants: 1

Tags for this Thread