これは過去からのちょっとした爆発ですが、とにかく...
私は、行選択モデルといくつかのボタンなどを備えた、ストアからロードするグリッドを持っています...
MyGrid = function(config){
var config = Ext.apply({},config,{
cm:'rowselection',
store:new Ext.data.Store({
ajax:true,
url:'someUrl'
})//thumbsucked config, this is prolly totally wrong
});
MyGrid.superclass.constructor.call(this, config);
}
Ext.extend(MyGrid,Extx.grid.GridPanel)
今私の質問は...
実際にストアに追加せずに、このグリッドに行を追加するにはどうすればよいですか?
これを実行して、列モデルに違反できるようにします(たとえば、テキスト情報を含む別の行と、4列幅のグリッドに収まらないハイパーリンクを追加したい)。
データビューなどとしてアクセスできますか?
this.store.on('load',function(store,records,e){
doWhat()
//debugger;
},this);
};