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 7552257
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 30, 20262026-05-30T10:42:54+00:00 2026-05-30T10:42:54+00:00

I am looking for a way to dynamically bind formulas throughout my DOM. We

  • 0

I am looking for a way to dynamically bind formulas throughout my DOM.

We have a data intensive app, and currently I write many handlers to try and recalculate and update the appropriate cells. However, this is error-prone.

I saw something that might be capable, hashigo. However it hasn’t been updated in about a year and a half.

Does anyone know of something similar that is under active development? I have been searching, but this is all I have managed to find.

Ideally I only need to setup the formula, and it will handle monitoring if fields in the formula have changed, and update the value accordingly.

EDIT: I also jQuerySheet however it is way more than I can use, I just need the formula parsing aspects of it. And it’s calculation engine appears to revolve too much around cells with a column/row identifier.

EDIT2: This jQuery Calculation plugin is getting closer to what I need.

EDIT3: Ultimately, I’d love to be able to write out something as simple as

$('#output').formula(" ( SUM($('.x')) + $('#y') ) / ( funcThatReturnsValue() + 4 )");

Which would result in the value of #output being recalculated whenever a value in .x or #y changed.

However, I may would setting for something as basic as this

$('#output').formula({
    formula: "(SUM(x)+y)/(j+k)",
    variables: {
        x: $('.x'),
        y: $('#y'),
        j: function() {
            return 3;
        },
        k: 4
    }
    onblur: $('.x, #y')
});
  • 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-30T10:42:56+00:00Added an answer on May 30, 2026 at 10:42 am

    You can use knockout.js to get the functionality you’re looking for.

    Knockout.js implements an mvvm pattern in your javascript. Here is how they define MVVM:

    MVVM and View Models Model-View-View Model (MVVM) is a design pattern
    for building user interfaces. It describes how you can keep a
    potentially sophisticated UI simple by splitting it into three parts:

    A model: your application’s stored data. This data represents objects
    and operations in your business domain (e.g., bank accounts that can
    perform money transfers) and is independent of any UI. When using KO,
    you will usually make Ajax calls to some server-side code to read and
    write this stored model data.

    A view model: a pure-code representation of the data and operations on
    a UI. For example, if you’re implementing a list editor, your view
    model would be an object holding a list of items, and exposing methods
    to add and remove items.

    Note that this is not the UI itself: it doesn’t have any concept of
    buttons or display styles. It’s not the persisted data model either –
    it holds the unsaved data the user is working with. When using KO,
    your view models are pure JavaScript objects that hold no knowledge of
    HTML. Keeping the view model abstract in this way lets it stay simple,
    so you can manage more sophisticated behaviors without getting lost.

    A view: a visible, interactive UI representing the state of the view
    model. It displays information from the view model, sends commands to
    the view model (e.g., when the user clicks buttons), and updates
    whenever the state of the view model changes.

    When using KO, your view is simply your HTML document with declarative
    bindings to link it to the view model. Alternatively, you can use
    templates that generate HTML using data from your view model.

    So you’ll create your “model” which includes the data in the spreadsheet, along with any functions you need to recalculate data. Then you’ll have your view, which automatically updates (aka recalculates) the data as the user changes things on the page.

    http://knockoutjs.com

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am looking for a way to edit data and have values dynamically calculated
I am looking for a way to have an image dynamically centered on any
I'm looking for a way to have a javascript/jquery function that references dynamically created
I'm looking for way to write Javascript programs / scripts on desktop, not inside
I am looking for the best way to dynamically arrange the location of labels
I'm looking for a way to dynamically load a master page in order to
I am looking for a way to format a floating point number dynamically in
Im looking for a way to dynamically create banners who can get placed on
I'm looking for a way to dynamically create an ellipse with a feathered edge
I am looking for some way to save dynamically generated image from WebBrowser control.

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.