1. #1
    Sencha User
    Join Date
    Nov 2011
    Posts
    10
    Vote Rating
    0
    rherwig is on a distinguished road

      0  

    Default Grid Column Width Compressed to "Fit" (after ListLoader.load()).

    Grid Column Width Compressed to "Fit" (after ListLoader.load()).


    I followed the example code to create a grid with a horizontal scrollbar however, since I'm using a RPC call to get the data, the grid columns are all squashed together so that they "fit" inside the ContentPanel (see the code for 'Framed with Checkbox Selection and Horizontal Scrolling'; createCheckBox() method; in http://extjs.com/examples/#gridplugins).

    As far as I can see that is the only difference between the example code and mine. The example creates the grid with the store already populated.

    Any hints??

    ~r

    PS
    I know I didn't include a "working" example of my code... It's a lot of code and you wouldn't get the RPC call to work anyway...

  2. #2
    Sencha User
    Join Date
    Nov 2011
    Posts
    10
    Vote Rating
    0
    rherwig is on a distinguished road

      0  

    Default


    PS
    If I catch the ListLoader LoadEvent and then set the column width it works however that seems to be a bit sloppy. There is a delay between the time the grid is rendered and the data appears. I noticed that even then the columns are sized to 'fit'. It's seems like the FitLayout is overriding the column widths at render time (which kinda sound correct *sigh*).

  3. #3
    Sencha User
    Join Date
    Nov 2011
    Posts
    10
    Vote Rating
    0
    rherwig is on a distinguished road

      0  

    Default


    For enquiring minds: Less is More
    I was setting too many properties for all the containers and layouts. Replaced many of the ContentPanels with LayoutContainers and only setting the layout = FitLayout.

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