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,412
    Answers
    3898
    Vote Rating
    1287
      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!

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

    Think my support is good? Get more personalized support via a support subscription. https://www.sencha.com/store/

    Need more help with your app? Hire Sencha Services services@sencha.com

    Want to learn Sencha Touch 2? Check out Sencha Touch in Action that is in print!

    When posting code, please use BBCode's CODE tags.

  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,412
    Answers
    3898
    Vote Rating
    1287
      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!

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

    Think my support is good? Get more personalized support via a support subscription. https://www.sencha.com/store/

    Need more help with your app? Hire Sencha Services services@sencha.com

    Want to learn Sencha Touch 2? Check out Sencha Touch in Action that is in print!

    When posting code, please use BBCode's CODE tags.

  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
  •