Gelmiş geçmiş en büyük porno sitemiz olan 2pe de her zaman en kaliteli pornoları sunmayı hedefledik. Diğer video sitemiz olan vuam da ise hd porno ağırlıklı çalışmalara başladık.

  1. #11
    Ext User torvad's Avatar
    Join Date
    Jul 2007
    Location
    Sweden
    Posts
    7
    Vote Rating
    0
    torvad is on a distinguished road

      0  

    Default


    [Solved - please ignore my post]

    Hi,
    how do you implement this with 1.1 of the Ext, when the function getGridEl() is not around anymore?

    I've tried to get the element and then add the style to it.
    Code:
    var el = Ext.DomQuery.selectNode("div[@id='myGridId'] div[@class='x-grid-header']");
    el.style.display="none";
    My div structure looks like this:
    <div id='myGridId'>
    <div...>
    <div...>
    <div class='x-grid-header'>
    Last edited by torvad; 7 Aug 2007 at 11:42 PM. Reason: Issue solved

  2. #12
    Ext User rost's Avatar
    Join Date
    Dec 2008
    Location
    Kharkiv, Ukraine
    Posts
    1
    Vote Rating
    0
    rost is on a distinguished road

      0  

    Default Another dynamic solution to show / hide grid header in extjs

    Another dynamic solution to show / hide grid header in extjs


    I have a grid which is heavily reused in many views of the app, with and without the header. I needed it to be configurable from the outside, so in my MyGridPanel class I've set a variable:

    Code:
    showGridHeader: false // do not display grid header by default
    The following code adds CSS class to hide the grid in initComponent method:

    Code:
    if (!this.showGridHeader) {
        this.addClass('grid-no-header');
    }
    In CSS, I have following:

    Code:
    .grid-no-header .x-grid3-header
    {
        display: none; 
    }
    So now all grids will have no headers by default but I can easily make a particular grid instance to have the header by setting it's public showGridHeader property to true. I hope this will help someone ;)

  3. #13
    Ext User
    Join Date
    Dec 2009
    Posts
    1
    Vote Rating
    0
    abhranilnaha is on a distinguished road

      0  

    Default Hiding Grid Header in Ext 3.0

    Hiding Grid Header in Ext 3.0


    When I am trying to execute the above code, it is hiding the header but in IE it is showing scrollbars in the grid. I think it is not able to set the width of the grid properly. How can I fix this problem?
    If I set hideHeaders to true in grid config then this scrollbar problem is gone and also it hides the header in IE but my grid is not able to load data in firefox. The grid store has data but still my grid in empty in firefox. My grid is inside a tabpanel in Ext 3.0. Does anybody know why hideheaders is causing problem in firefox for tabpanel?

  4. #14
    Sencha User aswinramakrish's Avatar
    Join Date
    Aug 2011
    Location
    Denver, CO
    Posts
    14
    Vote Rating
    1
    aswinramakrish is on a distinguished road

      0  

    Default


    I was having this issue. This is what I did.

    Code:
    grid.on('afterlayout', function (comp) {
                    if(comp.header)
                        comp.header.setStyle('display', 'none');                
                });
    The mistake that I was doing was:
    Code:
    grid.on('afterlayout', function (comp) {
                    if(grid.header)
                        grid.header.setStyle('display', 'none');                
                });
    Hope it helps!

  5. #15
    Sencha User
    Join Date
    Jan 2010
    Posts
    5
    Vote Rating
    0
    felix41382 is on a distinguished road

      0  

    Default


    Since ExtJs 4 this is done by:

    Code:
    hideHeaders: true

  6. #16
    Sencha User
    Join Date
    Oct 2010
    Posts
    1
    Vote Rating
    0
    fernce is on a distinguished road

      0  

    Default Try this:

    Try this:


    <style type="text/css">
    .x-box-inner
    {
    display:none;
    }
    </style>

Similar Threads

  1. how to hide the header of grid ?
    By waynez in forum Ext 1.x: Help & Discussion
    Replies: 2
    Last Post: 2 Apr 2007, 8:19 AM
  2. add a tooltip to a grid header
    By jeandamien in forum Ext 1.x: Help & Discussion
    Replies: 1
    Last Post: 30 Mar 2007, 4:07 AM
  3. Grid header hide
    By seno in forum Ext 2.x: Help & Discussion
    Replies: 2
    Last Post: 12 Mar 2007, 11:02 PM
  4. Grid Header Tooltips
    By tryanDLS in forum Community Discussion
    Replies: 7
    Last Post: 28 Nov 2006, 5:11 AM
  5. Need this.shim.hide() in hide func of BasicDialog
    By kalebwalton in forum Community Discussion
    Replies: 1
    Last Post: 25 Nov 2006, 4:29 PM

Thread Participants: 13