1. #1
    Ext User
    Join Date
    Mar 2007
    Posts
    6
    Vote Rating
    0
    zeek is on a distinguished road

      0  

    Default Header does not render if div is not visible.

    Header does not render if div is not visible.


    I am using a grid inside a div that's style.display is set to 'none' when the page is loaded. When the div's style.display is set to 'block' is displays the grid without the header. Why would the rows get rendered but not the header? I am actually using multiple grids, and this happens on all of them.

    Any help here would be appreciated. Note: The div cannot be visible when the page loads, this is not an option. Also, I've tried rerendering the grid when the div is displayed, this actually did get the headers to display, but resulted in a whole new set of problems. Thanks.

  2. #2
    Sencha User
    Join Date
    Mar 2007
    Posts
    7,854
    Vote Rating
    2
    tryanDLS is on a distinguished road

      0  

    Default


    I think that if you set display:none in HTML on the server side, the element is not even transmitted to the client. There have been several threads re display vs visibility. I would suggest using visibility:hidden. Also use Firebug to view the actual HTML to see what's there when the page renders.

  3. #3
    Ext User
    Join Date
    Mar 2007
    Posts
    6
    Vote Rating
    0
    zeek is on a distinguished road

      0  

    Default Thanks

    Thanks


    Thank you for your quick response.

    Unfortunately, this is not an option for me. The strange thing is that the rows are rendered just fine, just not the header. The actual code is there (in FireBug), it just doesn't actually display. Also, if I resize the window or even just activate FireBug, the header appears.

Similar Threads

  1. [OPEN] Yui menus only visible in center region in IE?
    By jarrod in forum Ext 1.x: Bugs
    Replies: 6
    Last Post: 1 Nov 2008, 4:20 AM
  2. Header of Grid not visible
    By skanberg in forum Ext 1.x: Help & Discussion
    Replies: 10
    Last Post: 22 Nov 2006, 8:17 AM
  3. Render don't display header
    By jdgrieco in forum Ext 1.x: Help & Discussion
    Replies: 2
    Last Post: 22 Sep 2006, 3:11 PM

Thread Participants: 1

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