1. #1
    Sencha User
    Join Date
    Jun 2012
    Posts
    20
    Vote Rating
    0
    nayak.kavya is on a distinguished road

      0  

    Default Answered: How to disable list and dataview loaders?

    Answered: How to disable list and dataview loaders?


    Hi,

    I need to know how to disable or hide loaders in sencha touch 2?For example the application screen has one list and three dataviews.When I integrate this with the backend webservices data and run the application the screen shows four different loaders and then shows the data.The four different loaders together looks weird on the screen and hence I want to disable or hide them.

    Can someone please help me on this possibility and let me know how to get them disabled?

  2. Set loadingText property to null like this,

    Code:
    Ext.create('Ext.List', {
        fullscreen: true,
        itemTpl: '{title}',
        loadingText: null, 
        data: [
            { title: 'Item 1' },
            { title: 'Item 2' },
            { title: 'Item 3' },
            { title: 'Item 4' }
        ]
    });

  3. #2
    Sencha User
    Join Date
    Aug 2012
    Location
    Istanbul, Turkiye
    Posts
    16
    Answers
    3
    Vote Rating
    0
    LostMan is on a distinguished road

      0  

    Default


    Set loadingText property to null like this,

    Code:
    Ext.create('Ext.List', {
        fullscreen: true,
        itemTpl: '{title}',
        loadingText: null, 
        data: [
            { title: 'Item 1' },
            { title: 'Item 2' },
            { title: 'Item 3' },
            { title: 'Item 4' }
        ]
    });

Thread Participants: 1

Tags for this Thread