Ext.ux.AccordionList
Ext.ux.AccordionList copied to clipboard
How can i set emptyText in accordion list
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'
}
]
}
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 :('
}
}
});