Page 2 of 2 FirstFirst 12
Results 11 to 13 of 13

Thread: Store gets data but not the list

  1. #11
    Sencha User
    Join Date
    Jan 2012
    Posts
    48

    Default

    I changed all my config fullscreen to false:

    2012-03-25_0007.png

    But it doesn't change anything, and the x-fullscreen class is still present.

    If it helps, I made a small video of the DOM mapping and the visual location on the screen (it should be above the Refresh button...):
    http://screencast.com/t/TYhynjHG



  2. #12
    Sencha Premium User mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    40,450
    Answers
    3997

    Default

    One last thing before I will throw in the towel to try and recreate your app. It looks like you have a height of 500px which is good but in the "tooltip" that pops up when you hover over the list's <div> it has a width of 0px.
    Mitchell Simoens @LikelyMitch
    Modus Create, Senior Fullstack Engineer
    ________________
    Modus Create is based on the model of an open source team. We’re a remote, global team of experts in our field. To find out more about the work we do, head over to our website.

    Check out my GitHub:
    https://github.com/mitchellsimoens

  3. #13
    Sencha User
    Join Date
    Jan 2012
    Posts
    48

    Default

    That's it! Thanks!

    We're getting closer.

    Now I can see it, but it's under the Refresh button:

    2012-03-25_0019.png
    Video: http://screencast.com/t/8V1VDhuTB

    What should be the container of the list?

    Currently:

    Code:
    Ext.define('MyApp.view.Home', {
        extend:'Ext.Panel',
        xtype:'homescreen',
    
    
        config:{
            fullscreen:false,
    
    
            styleHtmlContent:false,
    
    
            items:[
                {
                    xtype:'fieldset',
                    title:'Accounts',
                    id:'homeAccounts',
                    items:[
                        {
                            html:'Loading...'
                        }
                    ]
                },
                {
                    id:'homeLastTransactions',
                    xtype:'transactionslist',
                    height: "100%",
                    width: "100%"
                },
    
    
                {
                    xtype:'button',
                    text:'Refresh',
                    ui:'action',
                    id:'homeRefreshButton',
                    width:'150px'
                }
    
    
            ]
        }
    });
    Actually, I don't really need a list... I don't need to select the items at all.
    I just want to display the items, maybe a XTemplate is more appropriate here.

    What would you recommend?

    (The doc site is out of service... not really convenient...)


    Solution: I changed into a fieldset, and populates it manually when receiving the store data.
    No more list, just many items.

Page 2 of 2 FirstFirst 12

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
  •