Hybrid View

  1. #1
    Sencha User
    Join Date
    Aug 2012
    Location
    I R IRAN
    Posts
    8
    Vote Rating
    0
    tababala is on a distinguished road

      0  

    Default Unanswered: Grids' scroll bars stop working after multiple loading of data of various sizes

    Unanswered: Grids' scroll bars stop working after multiple loading of data of various sizes


    I've got a serious problem with grid's vertical scroll bar when I load data into the grid frequently and specially when the loaded data has a size of zero. It comes from that the user can set some time periods to get the time series data between the period, and when the set period has no data I load an empty store into the grid, so when the user change the period to a one that has some data, the scroll bar stops working as dragging it up and down has no effect on the grid's view. The ridicules point is that it doesn't happen all the time with this scenario but most of the time. I searched community and tried everything that has mentioned about the grid's scroll bar problems but no one worked.
    I use the grid in a panel and it's layout is fit and autoScroll is enabled.

  2. #2
    Ext JS Premium Member tvanzoelen's Avatar
    Join Date
    Apr 2008
    Location
    Groningen - Netherlands
    Posts
    1,114
    Answers
    83
    Vote Rating
    30
    tvanzoelen has a spectacular aura about tvanzoelen has a spectacular aura about tvanzoelen has a spectacular aura about

      1  

    Default


    before reloading a store I always do this

    Code:
    grid.store.removeAll();
    grid.view.refresh();

  3. #3
    Sencha User
    Join Date
    Aug 2012
    Location
    I R IRAN
    Posts
    8
    Vote Rating
    0
    tababala is on a distinguished road

      0  

    Default


    hi tvanzoelen.
    thanks for your answer. but i tested your approach and my problem didn't resolve.

  4. #4
    Sencha User
    Join Date
    Sep 2011
    Posts
    568
    Answers
    58
    Vote Rating
    69
    ettavolt is just really nice ettavolt is just really nice ettavolt is just really nice ettavolt is just really nice

      0  

    Default


    I guess you are using some version before 4.1. Try to upgrade - they have mostly eliminated use of virtual scroll.
    Also you may try to set Ext.panel.Table.scroll to 'vertical'.

  5. #5
    Sencha User
    Join Date
    Aug 2012
    Location
    I R IRAN
    Posts
    8
    Vote Rating
    0
    tababala is on a distinguished road

      0  

    Default


    Yes. I'm using 4.0.7 .but currently i cant upgrade.
    but I changed the grid config to this:
    PHP Code:
    viewConfig:{style:{overflow:'auto',overflowX:'hidden'}},
    scroll:false 
    and my problem solved.

    thanks.

Thread Participants: 2

Tags for this Thread

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