5
に反映した、私はそうのような& fiter並べ替える必要があり、計算プロパティがあります:私はCollectionViewEmberJSでリストをソートし、そのビュー
のデータソースとしてそのプロパティを使用していsortedFilteredChildren: function() {
console.log("sortedFilteredChildren()");
var filtered = this.get("children").filterProperty("archived",false);
var sorted = filtered.slice().sort(function(a,b){
return a.get("order") - b.get("order");
});
return sorted;
}.property("@each.order","@each.parent_id","EpicApp.filterOptions.viewArchived").cacheable(),
を
子のorderプロパティを変更した場合、このプロパティは再評価されません。言い換えれば、私はにconsole.logラインがやった後、表示されません。
child.set("order",10);
私が間違ってやっている任意のアイデアを?