Results 1 to 4 of 4

Thread: Reading an xml file and displaying in a list

  1. #1

    Default Reading an xml file and displaying in a list

    Hi all, i'm new to sencha touch. I need some one to help to read an xml file and print it in a list. i ve uploaded the code. i dont know whats's wrong in this code.

    .regModel('Search',{ fields
    :[ {name:'titl',type:'string'}, {name:'dat',type:'date'}, {name:'notes',type:'string'}] });
    var store =new{ model
    :'Search', proxy
    :{ type
    :'ajax', url
    :'test1.xml', success:function(){
    ("success"); }, reader:{
    } } });
    var list =new Ext.List({ fullscreen:true,
    itemTpl :'{titl},{dat},{notes}',
    store: store

    If i run the html file the page is loading . there is no response. I need help on this. Thanks in advance.

  2. #2
    Sencha User
    Join Date
    Dec 2010

    Thumbs up

    hi yasodha..

    for that problem..

    take panel and show the list in that panel..

    i have the same problem and i used panel to show that list... and it works fine..

  3. #3


    Thanks I used nestedlists instead - I found that was the best way of doing it. But I had to convert an asp file to json first.

  4. #4


    Thanks for the reply maulik. I used nestedlist and json instead of list and xml.

Similar Threads

  1. Example for reading xml attributes and displaying
    By nash99 in forum Ext 2.x: Help & Discussion
    Replies: 1
    Last Post: 19 Jun 2009, 12:26 AM
  2. Reading the xml file
    By samwells in forum Community Discussion
    Replies: 8
    Last Post: 24 Mar 2009, 3:39 PM
  3. Error reading a xml file with XmlReader
    By neo1010 in forum Ext 2.x: Help & Discussion
    Replies: 9
    Last Post: 4 Sep 2008, 6:00 AM
  4. Reading XML file in local system
    By narayantalakanti in forum Community Discussion
    Replies: 11
    Last Post: 17 Dec 2007, 1:29 AM
  5. Problem reading the XML file
    By evallgar in forum Ext 1.x: Help & Discussion
    Replies: 0
    Last Post: 3 Oct 2007, 9:31 AM

Tags for this Thread

Posting Permissions

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