1. #1
    Ext Premium Member
    Join Date
    Mar 2007
    Posts
    13
    Vote Rating
    0
    lorenzo is on a distinguished road

      0  

    Default Grid Width

    Grid Width


    Ciao everybody,

    I have a problem with the grid Width. How can I tell to the grid to get the size of the GridPanel in which it is?

    Something like the old "autoWidth: true"

    Grazie
    Lorenzo

  2. #2
    Ext User
    Join Date
    Mar 2007
    Posts
    140
    Vote Rating
    0
    Belgabor is on a distinguished road

      0  

    Default


    I guess you have a similar problem to mine (posted here: http://www.yui-ext.com/forum/viewtopic.php?t=2843).
    Unfortunately no one answered :/

  3. #3
    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


    I don't understand. Can you explain a little further? Is GridPanel broken for you? Thanks.

  4. #4
    Ext Premium Member
    Join Date
    Mar 2007
    Posts
    13
    Vote Rating
    0
    lorenzo is on a distinguished road

      0  

    Default


    Hi Jack,

    I have a grid in a GridPanel in a center region of a border layout. Everything works fine except the fact that the body of the grid does not complete the with of the panel.



    As you can see in the screenshot, I have the right part of the row left white... I would like to have the row till the end of the panel.

    How can I do that?

    Many thanks and sorry for my poor English.

  5. #5
    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


    Ah, the grid is in fact expanding to cover the whole panel but the rows now end at the last column. This is how the grid originally worked and there was a hack in .33 to get them to go all the way across no matter what. That hack doesn't work with the new version.

  6. #6
    Ext Premium Member
    Join Date
    Mar 2007
    Posts
    13
    Vote Rating
    0
    lorenzo is on a distinguished road

      0  

    Default


    Quote Originally Posted by jacksloc
    Ah, the grid is in fact expanding to cover the whole panel but the rows now end at the last column. This is how the grid originally worked and there was a hack in .33 to get them to go all the way across no matter what. That hack doesn't work with the new version.
    So, what do you suggest? Is there something I can do other than add another empty column till the end of my panel?

    Thanks

  7. #7
    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 looks fine to me. If it's really a big problem, I can try to hack something up.

  8. #8
    Ext Premium Member
    Join Date
    Mar 2007
    Posts
    13
    Vote Rating
    0
    lorenzo is on a distinguished road

      0  

    Default


    No, no... don't do this just for me. It's not a big problem...

    It was just easy.
    I didn't have to worry about the dimension of the panel in which the grid was.

    Another benefit was that resizing the window, I didn't have the horizontal scroll bar till the end of the last column.

    But if I'm the only one having this problem... it's OK, I will add an empty column.

    Thanks for your help.

  9. #9
    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


    You shouldn't be getting any extra scrollbars. Do you have a URL I can look at? I can take a look for you and see what we can do.

  10. #10
    Sencha User galdaka's Avatar
    Join Date
    Mar 2007
    Location
    Spain
    Posts
    1,166
    Vote Rating
    -1
    galdaka is an unknown quantity at this point

      0  

    Default


    use grid.getView().fitColumnsToContainer(); works fine for me.

Similar Threads

  1. about grid width/height in FF and IE?
    By franklt69 in forum Ext 1.x: Help & Discussion
    Replies: 1
    Last Post: 9 Feb 2007, 6:32 AM
  2. Grid width
    By ncubeait in forum Ext 1.x: Help & Discussion
    Replies: 1
    Last Post: 28 Jan 2007, 9:48 AM
  3. Grid width and percentages
    By jamaljohnson in forum Ext 1.x: Help & Discussion
    Replies: 4
    Last Post: 12 Jan 2007, 4:11 PM

Thread Participants: 3

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