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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 15, 20262026-06-15T17:19:42+00:00 2026-06-15T17:19:42+00:00

ember newjack here. Hooking an ArrayController into a CollectionView. // the ArrayController App.Entities =

  • 0

ember newjack here. Hooking an ArrayController into a CollectionView.

// the ArrayController
App.Entities = Ember.ArrayController.create({
    content: Ember.A([
            {id: 1, name: "item 1"},
            {id: 2, name: "item 2"},
            ...
            {id: n, name: "item n"}
        ])
});

// the CollectionView
myView = Ember.CollectionView.create(
    contentBinding: "App.Entities",
    tagName: 'ul',
    itemViewClass: Ember.View.extend({
        template: Ember.Handlebars.compile('{{view.content.name}}')
    })
).appendTo("mySelector");

Which, as expected creates a nice ul with my properties.
As well, all array-level operations such as popping, pushing and reversing work fabulously:

App.Entities.reverseObjects(); // Works!
App.Entities.popObject(); // Works!

However, I can’t seem to update a property inside the array:

App.Entities.objectAtContent(0).name = "new name" // I know this is wrong

Anecdotally, it works if I perform an array operation afterwards:

App.Entities.reverseObjects(); // change is picked up!

So the question: How to update properties INSIDE an ArrayController (And make sure bindings are updated?)

By the way, I’ve tried everything I can think of.. such as myView.rerender() etc but I know I’m just doing something wrong because it’s going against the way things should work.

  • 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-06-15T17:19:43+00:00Added an answer on June 15, 2026 at 5:19 pm

    Try App.Entities.objectAt(0).set('name', "New name") and let me know if this works…The Array must contain Ember Objects in order for the bindings to work for the changes made

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

Sidebar

Related Questions

{{view Ember.Select contentBinding=ResAdmin.adminController.priceCategories valueBinding=selectedRestaurant.PriceCategoryID optionLabelPath=content.name optionValuePath=content.id}} how can i add the default value like
With ember-data I'm loading all records of a model with: App.adapter = DS.Adapter.create({ findAll:
I'm using an Ember.CollectionView with an itemView that contains {{bindAttr class=App.offersController.filters.profile:selected}} . When App.offersController.filters
I building a ember.js app that also ties into some other jQuery plugins. I
I have a Ember.ArrayController that has an unsorted content. I want to know if
// create Ember js app App = Ember.Application.create(); // Create a grand parent view
I have an Ember.js app that has a Checklist model, where each Checklist has
Using ember-data, currently I'm loading data into the controller, on page load, as follows:
Using Ember.js I get an endless loop with the following code: Controller: App.activityDetailsController =
I am using Ember.js to create a table from a json feed. I have

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.