私の知る限り、(LBAPI を呼び出すストアで構成されている) グリッドのいずれかで任意の列を並べ替えると、ストアの定義以降のすべてのアプリ コードが再実行されます。これは予想される動作ですか?グリッドで使用されているデータを並べ替えるために再クエリを実行する必要があるとは思いません。
私は次のようにストアを定義しました。
// fetch the snapshot of all leaf level stories for the PI
var ssPiLeafStories = Ext.create('Rally.data.lookback.SnapshotStore', {
context: {
workspace: this.context.getWorkspace(),
project: this.context.getProject()
},
pageSize: 10000000,
fetch: find,
rawFind: query,
hydrate: ["ScheduleState", "c_" + this.gKanbanStateFieldName],
autoLoad: true,
listeners: {
scope: this,
load: this._processPiLeafStories
}
});
...グリッド内の任意の列を並べ替えると、_processPiLeafStories 関数以降のすべてのアプリのロジックが駆動されます (と思います!)。アプリの大部分を再実行するのではなく、グリッドを並べ替える方法についての提案をいただければ幸いです。
ありがとう!