1. #1
    Sencha User
    Join Date
    Sep 2011
    Posts
    7
    Vote Rating
    0
    slgatff is on a distinguished road

      0  

    Post Unanswered: Why doesn't this grid display the emptyText string?

    Unanswered: Why doesn't this grid display the emptyText string?


    I've been playing with this for several hours and can't figure out why the "emptyText" string isn't displayed in this grid. I'm using version 4.0.2a. Any ideas?

    Code:
        
        Ext.onReady( function() 
        {
            Ext.create( 'Ext.grid.Panel',
            {
                title: 'Test',
                stateId: 'panel',
                width: 500,
                height: 600,
                columnLines: true,
                autoScroll: true,
                layout: 'fit',
                viewConfig:
                {
                    deferEmptyText: false,
                    emptyText: 'Nothing to display in this grid'
                },
                store: Ext.create( 'Ext.data.JsonStore', 
                {
                    fields: [ 'col1', 'col2', 'col3' ],
                    data: [],
                }),
                columns:
                [
                    { header: 'Column 1', dataIndex: 'col1' },
                    { header: 'Column 2', dataIndex: 'col2', flex: 1 },
                    { header: 'Column 3', dataIndex: 'col3' }
                ],
                renderTo: Ext.getBody()
            });
        });
    Thanks,

    Steve

  2. #2
    Sencha User
    Join Date
    Sep 2011
    Posts
    7
    Vote Rating
    0
    slgatff is on a distinguished road

      0  

    Default


    Anyone have any ideas about this?

    Thanks

  3. #3
    Sencha Premium Member skirtle's Avatar
    Join Date
    Oct 2010
    Location
    UK
    Posts
    3,588
    Answers
    540
    Vote Rating
    322
    skirtle has a brilliant future skirtle has a brilliant future skirtle has a brilliant future skirtle has a brilliant future skirtle has a brilliant future skirtle has a brilliant future skirtle has a brilliant future skirtle has a brilliant future skirtle has a brilliant future skirtle has a brilliant future skirtle has a brilliant future

      0  

    Default


    Testing using a similar example shows that this works with 4.0.6 but not 4.0.2. Sounds like 4.0.7 is going to be pushed to the whole community, not just subscribers, so I suspect the easiest fix will be upgrading once it's released.

    http://www.sencha.com/blog/ext-js-4-1-update/

  4. #4
    Sencha User
    Join Date
    Sep 2011
    Posts
    7
    Vote Rating
    0
    slgatff is on a distinguished road

      0  

    Default


    Skirtle,

    Thanks for confirming it is an issue with 4.0.2. I searched the bug forum and the release notes for v4.0.4 - v4.0.6 (v4.0.3 release notes missing for some reason) and couldn't find anything relating to this issue. I look forward to the 4.0.7 release to see if a bunch of other issues I'm encountering have been fixed.

    Steve

Thread Participants: 1

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