Giter Club home page Giter Club logo

Comments (4)

AllNamesRTaken avatar AllNamesRTaken commented on June 26, 2024

Same for Editor.js.
Instead of having a synchronous function that creates the editor using the new keyword and expecting that to set up the domNode and get all dependencies synchronously, we could be allowed to supply an async function that returns an instance of the widget (or widget-like class) in its promise. The the rest of the wiring could proceed as normal.

This would allow things such as IoC instanciation of controls with dependency injection.

//J

from dgrid.

mikerobi avatar mikerobi commented on June 26, 2024

In my application, a very small percentage of cells are very expensive to compute, rendering them asynchronously will significantly decrease the load time of the rest of the grid.

However, I am not convinced that this needs to be built in to the dgrid. My original plan was to have renderCell insert a loading indicator and generate a closure that will be used to asynchronously update the cell.

from dgrid.

PunkChameleon avatar PunkChameleon commented on June 26, 2024

👍 Any news on this? It'd be great to be able to use deferred objects in formatter or renderCell

from dgrid.

Lumina83 avatar Lumina83 commented on June 26, 2024

Yeah that would be great.
I am updating from Dojo 1.6 to 1.9 and want to use dgrid now. We are working a lot with deferred Objects and now I can't use my old formatter-functions in the new dgrid. :-(

from dgrid.

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.