GithubHelp home page GithubHelp logo

Comments (3)

chrissainty avatar chrissainty commented on May 16, 2024

Hi @adrianwright109. The browsers session storage is only capable of storing string values. So that is the only thing you need to factor in here. I'm curious if you've hit any speed issues with the default serialization or if you're just expecting them?

from sessionstorage.

adrianwright109 avatar adrianwright109 commented on May 16, 2024

I'm more worried about exceeding the browser's session storage limit as these Telerik grids can have up to 10,000 rows in them. Potentially 10,000 rows could be selected and serializing a list of that many into a JSON string could exceed the limit. Unfortunately the grid needs the full objects to set the selected items, not just an ID.

Other option which I might have to do is store a unique ID into session storage then retrieve them from session storage and the use them to query the database to build up the list of selected items from the IDs.

from sessionstorage.

chrissainty avatar chrissainty commented on May 16, 2024

I see what you're saying. Session storage will hold up to around 5MB. I think storing the ID's with a call back to the DB is probably a more robust option.

As there isn't anything to do here I'm going to close this issue.

from sessionstorage.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.