Extjs 4 と MVC アーキテクチャを使用して、グリッドパネルのストアをコンボボックスに動的にバインドしたいのですが、ボタンのクリック ハンドラーでこれを行いました。
var prodRelStore = this.getGetProdRelDataStore();
var mygridprodrel = scopegrid.getView().getHeaderCt().getHeaderAtIndex(2);//the combo column
prodRelStore.getProxy().url = 'getprodrel.php';
prodRelStore.autoSync = true;
prodRelStore.load({
params: {
scope_name: scopename
},
scope : this
});
mygridprodrel.bindStore(prodRelStore);
scopegrid.getView().refresh();
しかし、私は次のように考えています: Uncaught TypeError: Object [object Object] has no method 'bindStore'
gridpanel 内のコンボボックスにストアを動的にバインドする正しい方法は何ですか?