Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How can i set emptyText in accordion list #22

Open
dibishks opened this issue Sep 24, 2013 · 1 comment
Open

How can i set emptyText in accordion list #22

dibishks opened this issue Sep 24, 2013 · 1 comment

Comments

@dibishks
Copy link

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'

                    }

                ]
            }
@jase88
Copy link

jase88 commented Jan 15, 2016

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 :('
        }
    }
});

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants