Gelmiş geçmiş en büyük porno sitemiz olan 2pe de her zaman en kaliteli pornoları sunmayı hedefledik. Diğer video sitemiz olan vuam da ise hd porno ağırlıklı çalışmalara başladık.

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

      0  

    Default GridView wrapEl width not updated in autoSize

    GridView wrapEl width not updated in autoSize


    Noticed that only the wrapEl's height is updated directly in autoSize via
    YAHOO.ext.grid.GridView.prototype.updateWrapHeight.

    The width of the wrapEl should also be updated as well.

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

      0  

    Default


    It's auto width, which is correct. Are you having a problem with it?

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

      0  

    Default


    I guess the problem only arises for example in my case, whereby I extend the grid's autoSize() to do a getView().fitColumns().

    This results in the problem whereby the height is correctly computed via updateWrapHeight, while width is remains as the original width style defined in the grid container's html markup. Subsequent calls to autoSize() will space the columns out nicely once the grid is actually rendered.

    Visually, what happens is that at the first moment that the grid is displayed in the layout, the height is correct, but all the columns are squashed into the originally defined width. A delayed call to autoSize() can be added to space out all the columns correctly thereafter, but incurs quite an extra hit on cpu cycles, as well as a visual glitch whereby the columns appears squashed for a split second then expand out to occupy the auto width space.

    In the meantime, I've overriden updateWrapHeight() to simply always setSize to both the computed height and width - works great now.

Similar Threads

  1. How to get the updated xml back from the editable grid?
    By wq7278 in forum Ext 2.x: Help & Discussion
    Replies: 1
    Last Post: 25 Mar 2007, 9:51 PM
  2. ComboBox.setValue - hiddenField not updated
    By mapo in forum Ext 2.x: Help & Discussion
    Replies: 1
    Last Post: 12 Mar 2007, 8:18 PM
  3. autosize problem
    By byuva in forum Ext 1.x: Help & Discussion
    Replies: 9
    Last Post: 19 Jan 2007, 3:47 AM
  4. *** UPDATED Interface Design Help - Short term contract
    By ernestlambert in forum Community Discussion
    Replies: 0
    Last Post: 1 Dec 2006, 7:42 AM
  5. Grid.autoSize()
    By Animal in forum Ext 1.x: Help & Discussion
    Replies: 3
    Last Post: 28 Sep 2006, 11:21 AM

Thread Participants: 1