【发布时间】:2017-09-01 15:21:48
【问题描述】:
我的对象中有很多字段,例如 {id, trackName , mtp , mtpDisplay} 我正在使用下面的存储方法按 mtp 字段对数据进行排序。但是它的 mtpDisplay 设置为 0。
renderTodayEntriesView: function (startIndex, endIndex) {
entriesStore = Ext.getStore('TodaysEntryTrackStore');
entriesStore.data.sort('mtp','ASC');
// After this mtpDisplay is settingt to 0
}
【问题讨论】:
标签: extjs sencha-touch-2