开发者

Ext Js 4 Grid Reconfigure on a fly

开发者 https://www.devze.com 2023-02-19 05:20 出处:网络
In Ext Js 3 was method reconfigure() to change configuration on a fly. In Ext JS 4 i didn\'t find such method. Anybody k开发者_高级运维now way to reconfigure grid on a fly ? For example to change tbar

In Ext Js 3 was method reconfigure() to change configuration on a fly. In Ext JS 4 i didn't find such method. Anybody k开发者_高级运维now way to reconfigure grid on a fly ? For example to change tbar, bbar, store etc.


Reconfigure exists on Ext.grid.Panel. I suspect it still exists in EXT 4 for the others as well...

reconfigure( Ext.data.Store store, [Object] columns ) : void

Reconfigures the table with a new store/columns. Either the store or the columns can be ommitted if you don't wish to change them. Parameters

store : Ext.data.Store

(Optional) The new store.
columns : [Object]

(Optional) An array of column configs

Returns

void

(source: http://docs.sencha.com/ext-js/4-0/#/api/Ext.grid.Panel )

0

精彩评论

暂无评论...
验证码 换一张
取 消