1. #1
    Sencha User
    Join Date
    Mar 2007
    Posts
    44
    Vote Rating
    0
    killfill is on a distinguished road

      0  

    Question Ext.ux.BufferView scroll problem

    Ext.ux.BufferView scroll problem


    Hello all,

    Im trying to use the BufferView user extension, becouse my grid has much rows, and seeing a problem.

    When i scroll down fast, the grid stops displaying the rows from the bottom. So, user can get to the point that want to see the last rows, wich is not getting reendered.

    Its like there is a problem with how BufferView calculates the rows it should render.

    Iv done a video to demostrate this.
    Video

    Im just using:
    Code:
    view: new Ext.ux.grid.BufferView({scrollDelay: false }),
    In the grid everything else is a normal, a typical grid.
    I have try different browsers, same result.

    Any tips welcome.

    Thanks!!

  2. #2
    Ext User
    Join Date
    Jan 2008
    Location
    Cambridge UK
    Posts
    41
    Vote Rating
    1
    emily is on a distinguished road

      0  

    Default


    Are any of your rows a different height to the rowHeight option set in the BufferView? BufferView only currently works if all the rows are the same height (defaults to 19 I think, but you can specify it when you create the object).

    This would cause what you are seeing.

    Oh, btw I didn't watch your video because I didn't want to download stuff in order to watch it.

  3. #3
    Sencha User
    Join Date
    Mar 2007
    Posts
    44
    Vote Rating
    0
    killfill is on a distinguished road

      0  

    Default


    Yes, i saw there is a parameter to specitfy the height in the BufferView
    All rows have the same height, and ive try to leave the default height, and to specify different values. The problem im getting is the same.

    About the video sorry, next time i could put or on youtoube or something..
    I could not upload it directly to the forum as it is 3MB.

    Thanks.

  4. #4
    Sencha User
    Join Date
    Mar 2007
    Posts
    44
    Vote Rating
    0
    killfill is on a distinguished road

      0  

    Default


    The YouTube video is here

  5. #5
    Sencha User
    Join Date
    Mar 2007
    Posts
    44
    Vote Rating
    0
    killfill is on a distinguished road

      0  

    Default


    Hm... i just notice i was using a custom theme.
    With the default ext theme it works just fine.

    So there is something with the theme im using.

  6. #6
    Ext User barncat's Avatar
    Join Date
    Dec 2009
    Posts
    3
    Vote Rating
    0
    barncat is on a distinguished road

      0  

    Default same problem- custom theme + bufferview = failure

    same problem- custom theme + bufferview = failure


    Thanks for posting this! It would have been quite a while before I would have thought to try reverting to the default theme...

    I wonder what aspect of custom themes cause this calculation to be off. I've been using xtheme-human. I'll try a couple other themes to see if any other than default work.

  7. #7
    Sencha User
    Join Date
    Jun 2010
    Location
    Buenos Aires, Argentina
    Posts
    213
    Vote Rating
    9
    ldonofrio will become famous soon enough

      0  

    Default


    same problem here. Dont know exactly why, but setting borderheight to 1 works!

  8. #8
    Sencha User
    Join Date
    Dec 2012
    Posts
    1
    Vote Rating
    0
    andrey269 is on a distinguished road

      0  

    Default Fix for Zoom problem in BufferView

    Fix for Zoom problem in BufferView


    The row height is different when zoomed. Try replacing getCalculatedRowHeight like below:

    getCalculatedRowHeight: function () {
    return this.scroller.dom.scrollHeight === this.scroller.dom.clientHeight ?
    this.rowHeight + this.borderHeight : this.scroller.dom.scrollHeight / this.ds.getCount();
    },

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..."