Ext.ux.AccordionList icon indicating copy to clipboard operation
Ext.ux.AccordionList copied to clipboard

How can i set emptyText in accordion list

Open dibishks opened this issue 11 years ago • 1 comments

Hi,

Am using ur accordion list in my project, its working great..But small problem with set emptyText when there is no data to display in list i tried this way, but its not showing empty text..Can u guide me. Thanks in advance { xtype: 'accordionlist', store: Ext.create('WinReo.store.Task'), flex: 1, cls:'testlistvalue', emptyText:'No Property to Show', listConfig: { plugins: [ { xclass: 'Ext.plugin.ListPaging', autoPaging: true, noMoreRecordsText: 'No More Properties'

                    }

                ]
            }

dibishks avatar Sep 24 '13 04:09 dibishks

Sorry late answer, but if anybody still interested. Define emptyText property on listConfig like:

Ext.define('myTreeList', {
    extend: 'Ext.ux.AccordionList',
    xtype: 'mytreelist',

    config: {
        ...
        listConfig: {
            emptyText: 'empty list :('
        }
    }
});

jase88 avatar Jan 15 '16 13:01 jase88