Hybrid View

  1. #1
    Sencha User
    Join Date
    Jul 2011
    Posts
    49
    Vote Rating
    0
    zakif is on a distinguished road

      0  

    Default Horizontal Scrollbar won't work properly in EditorGridPanel

    Horizontal Scrollbar won't work properly in EditorGridPanel


    I have problem with EditorGridPanel. The Horizontal scrollbar is appear, but the fixed height (400) is not appear correctly. Therefore, there is a big space between the last row of the grid and the horizontal scroll bar.

    If I use autoHeight, the horizontal scrolbar get disappeared.

    Here is the code:

    Code:
            var item_grid = new Ext.grid.EditorGridPanel({
                layout:'fit',
                frame:true,
                border: false,
                closable : true,
                title: 'List of Properties',
                plugins: checkColumn,
                height: 400,
                autoWidth:true,
                autoScroll: true,
                enableColumnMove: false,
                store: item_store,
                clicksToEdit: 1,
    How to fix that? Any advice and solution is really really appreciated.

    Thanks in advance.

  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


    Can you post an image of what you are seeing, as I cannot duplicate your description.

    Here is a basic setup:

    Code:
    Ext.onReady(function() {
        var myGrid = new Ext.grid.EditorGridPanel({
            store: store,
            cm: cm, // columns
            loadMask: true,
            height: 200,
            autoWidth:true,
            frame: true,
            renderTo: Ext.getBody(),
            viewConfig: {
            // forceFit: true // force columns to span grid
            }
        });
    });
    You should not place layout,closable,autoScroll in the config unless you are using a panel that contains other items where you need to control their layout.

    Regards,
    Scott.

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