Hybrid View

  1. #1
    Sencha User
    Join Date
    Nov 2011
    Posts
    8
    Vote Rating
    0
    vibhor_msat is on a distinguished road

      0  

    Default Not getting scrollbar in my live grid

    Not getting scrollbar in my live grid


    below is the code for my livegrid.....i am not able to get scrollbar in tgat

    Code:
    var myView1 = new Ext.ux.grid.livegrid.GridView({
        nearLimit : 5,
        loadMask  : {
            msg :  'Buffering. Please wait...'
        }
    });
    
    var livegrid = new Ext.ux.grid.livegrid.GridPanel({
        enableDragDrop : false,
        cm             : new Ext.grid.ColumnModel([
            new Ext.grid.RowNumberer({header : '#' }),
            {header: "Number", align : 'left',   width: 160, sortable: true, dataIndex: 'c1'},
            {header: "String", align : 'left',   width: 160, sortable: true, dataIndex: 'c2'},
            {header: "Date",   align : 'right',  width: 160, sortable: true, dataIndex: 'c3'}
        ]),
        loadMask       : {
            msg : 'Loading...'
        },
        title      : 'Large table',
        height     : 800,
        stripeRows : true,
        width      : 600,
        store      : new Ext.ux.grid.livegrid.Store({
    //        autoLoad : true,
            url      : GLOBALCONTEXTPATH+'/superGroupSearchContrlr/superGroupAutoSearch.do',
            bufferSize : 300,
            reader     : new Ext.ux.grid.livegrid.JsonReader({
                id: '_id',
                root: 'data',
                totalProperty: 'totalCount',
                successProperty: 'success',
                messageProperty : 'message',
        
                versionProperty : 'version'
              }, [ {
                 name : 'c1', type:'string'
              },{
                 name : 'c2', type:'string'
              },{
                 name : 'c3',  type:'string'
            }]),
            sortInfo   : {field: 'c1', direction: 'ASC'}
        }),
        selModel : new Ext.ux.grid.livegrid.RowSelectionModel(),
        view     : myView1,
        bbar     : new Ext.ux.grid.livegrid.Toolbar({
            view        : myView1,
            displayInfo : true
        })
    });

    Please help
    Last edited by scottmartin; 9 Aug 2012 at 10:41 AM. Reason: Please format your code

  2. #2
    Sencha - Support Team scottmartin's Avatar
    Join Date
    Jul 2010
    Location
    Houston, Tx
    Posts
    8,918
    Vote Rating
    443
    scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future

      0  

    Default


    Are you embedding this inside other panel(s)? The grid is a panel itself? Adding it inside other panels can cause this behavior.

    Scott.

Thread Participants: 1

Tags for this Thread

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