Threaded View

  1. #1
    Sencha User xereta's Avatar
    Join Date
    Jul 2012
    Vote Rating
    xereta is on a distinguished road


    Default Answered: NestedList and TreeStore 2mb local file

    Answered: NestedList and TreeStore 2mb local file


    I am current having a problem with the size of the TreeStore's data.
    I am doing an App, that needs to show a tree in a NestedList.
    This data needs be show offline, so i built a json file and put it on "resources/data" folder.
    However, this has became a 2.5mb file, and the NestedList has became slowly to navigate in it.

    I can't think on an other way to do it.

    I have already thought in use a List in the place of NestedList, and then create different files to the children, but it seens a big workaround to me.

    Any of you could give me an idea?

  2. I'm not sure if NestedList will work; you may need to intervene programmatically a little more with this proxy, creating stores on the go with a remoteFilter set to the relevant parent ID.

    I'd start with a simple list example and go from there.

    I would populate the websql if it hasn't already been populated at the start of the application, yes.

    The main advantage to you is the remoteFilter/sort configs will operate on the database, so javascript won't have to hold the data in memory, and you can bring subsets of the data into javascript memory as you need to display them.

Thread Participants: 1

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..." hd porno faketaxi