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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T06:35:07+00:00 2026-05-28T06:35:07+00:00

If I have done my homework correctly, I have come to learn that Backbone

  • 0

If I have done my homework correctly, I have come to learn that Backbone does not have built-in save event that is triggered when a model is saved using the model’s save method (even though there is a destroy event).

I have also learned that Backbone has a nifty mechanism for creating custom events using the Backbone.Events object. Using the latter works, but I have the impression that it is not fine-grained enough for my needs.

My setup is as follows. I have a table (view) built up of rows (views) with each row having a reference to a model. When the model is saved, I’d like to update/render the row to reflect the changes.

How does one go about creating a save event that is triggered when a model is saved so that the table row (view) that has a reference to that model is updated?

In other words, I’d like to be able to do the following:

this.model.bind('save', this.render);
  • 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-28T06:35:08+00:00Added an answer on May 28, 2026 at 6:35 am

    Just 3 days ago, a commit was made to Backbone that triggers a sync event when the model is successfully saved. This commit hasn’t been release yet, though, so you will need to download the source code from the github account if you want to use it.

    View = Backbone.View.extend({
      initialize: function() {
        _.bindAll(this, 'onModelSaved');
        this.model.bind('sync', onSuccessCallback);
      },
    
      onModelSaved: function(model, response, options) {
        //perform your after save logic
      }
    });
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Have done some research and found some stuff that may be helpful. I would
I have done various tests and I have found that the jQuery validate function
It might be for pedantic purposes but not homework. I have below question about
I have done a homework assignment, here is the problem statement: Your program should
I am new to linq and linq2SQL. I have done my homework, i.e. found
This is the code that I have to refactor for my homework: if (state
I have a homework assignment and I've done the bare minimum of the assignment,
(This is not homework) We have some extra exercices we can do, and i
I am working on a homework assignment, and I have almost everything done except
I am a quite new to node js and have done some homework in

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.