1. #1
    Sencha User
    Join Date
    Oct 2011
    Posts
    20
    Vote Rating
    0
    nstokoe is on a distinguished road

      0  

    Default Unanswered: Looking for a stateful grid example

    Unanswered: Looking for a stateful grid example


    I am looking for a stateful grid example but cannot seem to find one. The basic grid example seems to set the grid as stateful but it doesn't actual seem to retain state (for example continue hiding a column I set as hidden) after a page refresh.

    Can someone point me to an example of how to set up a stateful grid?

  2. #2
    Sencha User W8in4U's Avatar
    Join Date
    May 2012
    Posts
    3
    Vote Rating
    0
    W8in4U is on a distinguished road

      0  

    Default


    hi baby , here is my example:
    Code:
    Ext.application({
        name: 'NQ',
        appFolder: 'UI/app',
        launch: function() {
            Ext.state.Manager.setProvider(Ext.create('Ext.state.CookieProvider'));
            Ext.create('Ext.container.Viewport', {
                layout : {
                    type : 'border',
                    padding : '5'
                },
                items : [ {
                    xtype:'gridpanel',
                    stateful:true,
                    stateId:'statefulgrid',
                    columns:[{
                        header : 'name'
                    },{
                        header : 'email'
                    }]
                } ]
            });
        }
    });

Thread Participants: 1

Tags for this Thread

film izle

hd film izle

film sitesi

takipci kazanma sitesi

takipci kazanma sitesi

güzel olan herşey

takipci alma sitesi

komik eğlenceli videolar