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

      0  

    Default Grid autoSizeColumns horizontal scrollbar

    Grid autoSizeColumns horizontal scrollbar


    When autoSizeColumns is true and the grid has enough rows to get a vertical scrollbar, then the horizontal scrollbar always appears to scroll the grid the width of the vertical scrollbar horizontally (if that made any sense). It would be nice if there was a way to compensate for that to always avoid getting a horizontal scrollbar in autosize mode.

  2. #2
    Sencha User jack.slocum's Avatar
    Join Date
    Mar 2007
    Location
    Tampa, FL
    Posts
    6,955
    Vote Rating
    17
    jack.slocum will become famous soon enough jack.slocum will become famous soon enough

      0  

    Default


    It should take into account the scrollbar. Can you post some code?

    Primarily I am looking for remote loading. Inline loading *should* take into account the scrollbar, if it doesn't then it is a bug.

    A workaround you might try also (this is useful for remote loading as well) is instead of setting autoSizeColumns to true, after your grid loads call grid.getView().autoSizeColumns();

    Jack

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

      0  

    Default


    A workaround you might try also (this is useful for remote loading as well) is instead of setting autoSizeColumns to true, after your grid loads call grid.getView().autoSizeColumns();
    Yup, that fixes it. I am using the JSON remote loader and already have some stuff running on the load event, so it is simple enough to add it there.

  4. #4
    Sencha User
    Join Date
    May 2007
    Location
    The Netherlands
    Posts
    187
    Vote Rating
    1
    mschering is on a distinguished road

      0  

    Default


    Note that this works only in the datastore load event.

    Not just by adding it after grid.render().

    Thanks for the help though!

Similar Threads

  1. Grid in LayoutDialog - horizontal scroll bar not appearing..
    By moktc in forum Ext 1.x: Help & Discussion
    Replies: 7
    Last Post: 20 Mar 2007, 10:02 PM
  2. [grid] autoSizeColumns && autoExpandColumn errors
    By nassaja-rus in forum Ext 2.x: Help & Discussion
    Replies: 8
    Last Post: 16 Mar 2007, 3:47 AM
  3. [Grid] autoSizeColumns doesn't consider the vertical scroll
    By Skeleton in forum Ext 2.x: Help & Discussion
    Replies: 5
    Last Post: 1 Mar 2007, 2:52 PM
  4. Grid with vertical AND horizontal headers?
    By Kikinou in forum Community Discussion
    Replies: 8
    Last Post: 28 Dec 2006, 4:52 PM
  5. Horizontal scroll in grid
    By techno_adi in forum Ext 1.x: Help & Discussion
    Replies: 3
    Last Post: 16 Oct 2006, 6:25 AM

Thread Participants: 2

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