Results 1 to 5 of 5

Thread: Ext.List is not displaying

  1. #1
    Sencha User
    Join Date
    Feb 2012
    Posts
    86
    Answers
    2
    Vote Rating
    0
      0  

    Default Answered: Ext.List is not displaying

    Hi,
    I am trying to use the example given in sencha docs i.e http://docs.sencha.com/touch/2-0/#!/api/Ext.dataview.List , but nothing is getting displayed. Its completely blank. Please help me.

  2. Inspect the DOM. Is the list elements there but has no height? If so then you need to give it a height or use a layout on it's parent like fit layout to manage it's height. Are there rows in the list? Does the store have data in it properly?

  3. #2
    Sencha - Sr Software Engineer mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    39,553
    Answers
    3931
    Vote Rating
    1272
      0  

    Default

    Inspect the DOM. Is the list elements there but has no height? If so then you need to give it a height or use a layout on it's parent like fit layout to manage it's height. Are there rows in the list? Does the store have data in it properly?
    Mitchell Simoens @LikelyMitch
    Sencha Inc, Senior Software Engineer
    ________________
    Learn BBCode and use it! Checkout the CODE tag!

    Check out my GitHub, lots of nice things for Ext JS and Sencha Touch
    https://github.com/mitchellsimoens

  4. #3
    Sencha User
    Join Date
    Feb 2012
    Posts
    86
    Answers
    2
    Vote Rating
    0
      0  

    Default

    Ya I inspected the DOM structure, data is available there also I added fit layout/ height still not displaying.

  5. #4
    Sencha - Sr Software Engineer mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    39,553
    Answers
    3931
    Vote Rating
    1272
      0  

    Default

    I can't just come over and debug it. I need you to either post your code or inspect the DOM to understand what is going on.
    Mitchell Simoens @LikelyMitch
    Sencha Inc, Senior Software Engineer
    ________________
    Learn BBCode and use it! Checkout the CODE tag!

    Check out my GitHub, lots of nice things for Ext JS and Sencha Touch
    https://github.com/mitchellsimoens

  6. #5
    Sencha User
    Join Date
    Feb 2012
    Posts
    86
    Answers
    2
    Vote Rating
    0
      0  

    Default

    Thanks for your immediate response. I tried it again and it worked. Thanks again.

Posting Permissions

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