1. #1
    Sencha Premium Member
    Join Date
    Apr 2012
    Location
    Germany
    Posts
    118
    Answers
    3
    Vote Rating
    3
    clifficious is on a distinguished road

      0  

    Question Answered: Grid emptyText not displayed

    Answered: Grid emptyText not displayed


    Hi,

    I searched through the forums, but did not find a satisfying nor working solution for my problem. I have a class that extends 'Ext.grid.Panel'. Inside I set the 'emptyText' option. But it is not displayed. I'm currently using Ext 4.2. I also tried with 'deferEmptyText' without success. The store is definitely empty in the beginning.

    Code:
    Ext.define('My.app.MyRoutesGridPanel', {    
    extend: 'Ext.grid.Panel',
        alias: 'widget.myroutespanel',
        itemId: 'myroutespanel',
        
        store: Ext.getStore('My.app.MyRoutes'),
        
        viewConfig: {
            deferEmtpyText: false,
            emptyText: 'Text to display when empty.',
        },
        
        columns: [
                  {
                      text: 'name',
                      dataIndex: 'name',
                      flex: 55
                  },{
                      text: 'length [km]',
                      dataIndex: 'length',
                      flex: 25
                    }
                  ],
                  
        forceFit: true
    });
    Can anybody give me a hint?

    Thanks a lot!
    Cliff

  2. This is the reported bug in sencha. You can refer to http://www.sencha.com/forum/showthre...several-levels

  3. #2
    Sencha User
    Join Date
    Jun 2012
    Location
    India
    Posts
    50
    Answers
    4
    Vote Rating
    3
    girish.arjunagi is on a distinguished road

      1  

    Default


    This is the reported bug in sencha. You can refer to http://www.sencha.com/forum/showthre...several-levels

  4. #3
    Sencha - Support Team slemmon's Avatar
    Join Date
    Mar 2009
    Location
    Boise, ID
    Posts
    4,913
    Answers
    371
    Vote Rating
    179
    slemmon is a splendid one to behold slemmon is a splendid one to behold slemmon is a splendid one to behold slemmon is a splendid one to behold slemmon is a splendid one to behold slemmon is a splendid one to behold slemmon is a splendid one to behold slemmon is a splendid one to behold

      0  

    Default


    Thanks for the report!
    Looks like this issue is a bug in 4.2 and is reported for that version.

Thread Participants: 2

Tags for this Thread

Turkiyenin en sevilen filmlerinin yer aldigi xnxx internet sitemiz olan ve porn sex tarzi bir site olan mobil porno izle sitemiz gercekten dillere destan bir durumda herkesin sevdigi bir site olarak tarihe gececege benziyor. Sitenin en belirgin ozelliklerinden birisi de Turkiyede gercekten kaliteli ve muntazam, duzenli porno izle siteleri olmamasidir. Bu yuzden iste. Ayrica en net goruntu kalitesine sahip adresinde yayinlanmaktadir. Mesela diğer sitelerimizden bahsedecek olursak, en iyi hd porno video arşivine sahip bir siteyiz. "The Best anal porn videos and slut anus, big asses movies set..." hd porno faketaxi