1. #1
    Sencha User farion's Avatar
    Join Date
    Feb 2008
    Location
    Karlsruhe, Germany
    Posts
    75
    Vote Rating
    11
    farion will become famous soon enough

      0  

    Default No header on grid.

    No header on grid.


    Hi,

    I have a normal Ext.grid.Panel with headers: false and hideHeaders:true. But unfortunately I end up with the following markup. It is visibile as a small line - seems like a border.

    Code:
    <div class="x-grid-header-ct x-grid-header-ct-hidden x-docked x-grid-header-ct-default x-docked-top x-grid-header-ct-docked-top x-grid-header-ct-default-docked-top x-box-layout-ct" style="border-width: 1px; height: 0px; width: 860px; right: auto; left: 0px; top: 0px;" id="headercontainer-1024"><div id="headercontainer-1024-innerCt" class="x-box-inner " role="presentation" style="width: 858px; height: 29px;"><div id="headercontainer-1024-targetEl" class="x-box-target" style="width: 858px;"><div class="x-column-header x-column-header-align-left x-box-item x-column-header-default x-unselectable x-column-header-first x-column-header-last" style="border-width: 1px; height: auto; right: auto; left: 0px; margin: 0px; width: 843px; top: 0px;" id="templatecolumn-1025"><div id="templatecolumn-1025-titleEl" class="x-column-header-inner" style=""><span id="templatecolumn-1025-textEl" class="x-column-header-text">&nbsp;</span><div id="templatecolumn-1025-triggerEl" class="x-column-header-trigger"></div></div></div></div></div></div>
    Why this markup is injected, it is not needed?

    Thx farion

  2. #2
    Sencha - Ext JS Dev Team evant's Avatar
    Join Date
    Apr 2007
    Location
    Sydney, Australia
    Posts
    16,834
    Vote Rating
    609
    evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute

      0  

    Default


    It's needed because the headers are used to size the columns.
    Evan Trimboli
    Sencha Developer
    Twitter - @evantrimboli
    Don't be afraid of the source code!

  3. #3
    Sencha User farion's Avatar
    Join Date
    Feb 2008
    Location
    Karlsruhe, Germany
    Posts
    75
    Vote Rating
    11
    farion will become famous soon enough

      0  

    Default


    Okay.

    So I have to hide the header manually with css? Sounds like an ugly hack. Isn't that the task of hideHeaders?

    farion

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