1. #1
    Ext User
    Join Date
    Oct 2007
    Posts
    6
    Vote Rating
    0
    embolooloo is on a distinguished road

      0  

    Default GridPanel - smart rendering

    GridPanel - smart rendering


    Hi guys,

    I would like to use the GridPanel component of the Ext JS in my application.
    I would like to show about 1000 rows in each page (about 10 columns), and several columns should include an image icon, selectbox, CheckBox and more so not just text - which mean that I need to attach a render function to some columns.

    So, what is my problem ? that it's too slow. the grid renderer renders the entire 1000 rows and it takes too much time(and meanwhile, the browser stuck...).

    Is the grid component support a smart rendering ? which mean that it holds the data, but it render only what the user see. so if the user sees only 20 rows of the 1000, then the grid will render only those 20 and not the whole 1000, and when the user scrolls down another bunch of rows will be rendered.

    Any ideas ?

    Thanks !

  2. #2
    Ext User
    Join Date
    Oct 2007
    Posts
    170
    Vote Rating
    0
    SeaSharp is on a distinguished road

      0  

    Default


    Warning an Ext rookie replies.

    The following link demonstrates how to page off a local memory store but maybe Ext 2.0 has been enhanced to make such paging simpler.

    http://extjs.com/learn/Extention:PagingMemoryProxy

    As to your essential requirement, it has been discussed over the months and I think people have posted code examples for their own implementation.

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

      0  

    Default


    Why would you need 1000 rows of data to be rendered once? Why not use paging?

  4. #4
    Ext User
    Join Date
    Oct 2007
    Posts
    6
    Vote Rating
    0
    embolooloo is on a distinguished road

      0  

    Default


    I'm using paging, I just want to let the users decide how many rows they want in each page.

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

      0  

    Default grid

    grid


    I still use 1.1 because it's stable.If you are php programmer.Download my program at sourceforge idcms inventory.There's e.g i don't use the ajax thing.It's something like this.If you have 1 million or record to grid are you want to put into xml file.The system might be used by 20 person in time.Unless the information are not change.It's better to create a cache xml /json file when user login. If not better ask application side to create the pagenation.The only weakness is when you sorting it out it just column sort to current 10 information row per page and not e.g 1 million record per page e.g.
    For portal is the best using xml and for multi user and connection serious i suggest not.

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