Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6956341
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T14:51:24+00:00 2026-05-27T14:51:24+00:00

I am currently implementing a frontend based on the Dojo Toolkit (1.6.1) receiving a

  • 0

I am currently implementing a frontend based on the Dojo Toolkit (1.6.1) receiving a lot of data from RESTful services. This is represented in the GUI by the dojox.grid.DataGrid using a dojo.store.JsonRest-store.

There are however operations used on the grid I do not wish to send a JSON request for, such as sorting a column. Is is possible to allow the user to sort the data without such a request? Can I cache the store information locally (e.g. user browser or in a file) to avoid this?

Any feedback you might have is very appreciated!

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-27T14:51:24+00:00Added an answer on May 27, 2026 at 2:51 pm

    I facded the same issue and first tried dojo.store.cache, but this is not working.
    Hence I created my own cache usind a dojo.store.memory:

    startBuildingCache: function (url, idProperty) {
        try {
            var jsonStore = new dojo.store.JsonRest({ target: url });
            var jsonObjectStore = dojo.data.ObjectStore({ objectStore: jsonStore });
    
            var gotItems = dojo.hitch(this, function (items, request) {
    
                var dataStore = new dojo.store.Memory({
                    data: items,
                    idProperty: idProperty
                });
    
                this.cache = dojo.data.ObjectStore({ objectStore: dataStore });
                this.onCacheBuild({
                    src: this,
                    cache: this.cache
                });
            });
    
            jsonObjectStore.fetch({ onComplete: gotItems });
    
    
        } catch (e) {
            console.log(e.name + ": " + e.message);
        }
    },
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

We are currently implementing a portal to our web based services. The portal and
I am currently implementing an associacion of strings and enums based on this suggestion
I'm currently implementing a very complex tree structure to allow for near-instant data access,
I'm currently implementing a RESTful API (nothing serious, just for a blog engine i'm
I'm currently implementing a HTML canvas based webapp that features panning. Is there a
I'm currently implementing a histogram that will show a very large scale data using
I'm currently implementing a red-black tree data structure to perform some optimizations for an
In the algorithm I'm currently implementing, there is this line (where u is a
I am currently implementing something quite similar to checkers. So, I have this table
I'm currently implementing a raytracer. Since raytracing is extremely computation heavy and since I

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.