1. #1
    Ext User
    Join Date
    May 2010
    Posts
    6
    Vote Rating
    0
    fhuggler is on a distinguished road

      0  

    Question GRID PANEL WHIT 100% OF DIV PARENT

    GRID PANEL WHIT 100% OF DIV PARENT


    HI.

    I CREATE ONE GRIDPANEL IN DIV WITH 100% HEIGHT

    BUT, THE GRIDPANEL ARE NOT HOLDING 100% HEIGHT...WHERE IS THE ERROR?

    var grid = new Ext.grid.GridPanel({
    renderTo: 'mydiv',

    store: ds,
    cm: column_model,
    viewConfig: { forceFit:
    true},
    border:
    false,
    stripeRows:
    true,
    loadMask:
    true
    });


    Thanks for everything!

  2. #2
    Sencha Premium Member
    Join Date
    Mar 2010
    Posts
    63
    Vote Rating
    0
    LostSoul is on a distinguished road

      0  

    Default


    this is what you need, it works perfect

    http://www.extjs.com/forum/showthrea...ent&highlight=[new+Ext.ux.plugins.FitToParent%28gridParentDiv%29]

    here is an example of a div I am using it in

    Code:
    <div id="gridParentDiv" style="height:100%;">
                 <div id="search-panel" style="width:100%;overflow:hidden"></div>
             </div>
    Code:
    var panel = new Ext.Panel({
            applyTo: 'search-panel',
            plugins: [new Ext.ux.plugins.FitToParent(gridParentDiv)],
            layout: 'fit',
            items: grid
        });
    and you will need to add the plugin that is created
    that will save you some headaches

  3. #3
    Ext User
    Join Date
    May 2010
    Posts
    6
    Vote Rating
    0
    fhuggler is on a distinguished road

      0  

    Thumbs up Obrigado

    Obrigado


    Very Thanks my Friend!!!! Obrigado mesmo.

Similar Threads

  1. table/div 100% height in ExtJS panels?
    By ultramedia in forum Ext 3.x: Help & Discussion
    Replies: 1
    Last Post: 24 Aug 2009, 4:58 AM
  2. works whit firefox but is not whit IE
    By olvap in forum Ext 2.x: Help & Discussion
    Replies: 3
    Last Post: 4 Apr 2009, 11:50 PM
  3. 100% Height DIV inside a panel
    By nightmage in forum Ext 2.x: Help & Discussion
    Replies: 1
    Last Post: 15 Feb 2008, 7:31 AM
  4. How to resize a grid inside a 100% div?
    By FwAnK in forum Ext 2.x: Help & Discussion
    Replies: 5
    Last Post: 18 Dec 2007, 10:46 AM
  5. Grid makes parent div visible...?
    By nbinder in forum Ext 1.x: Help & Discussion
    Replies: 9
    Last Post: 21 Jun 2007, 3:21 AM

Thread Participants: 1

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