ExtJS grid as display only
Ext.grid.GridPanel is ve开发者_如何学Pythonry cool grid, advanced with very powerfull features, sorting, resizeing, etc...
If I want to use it as nice looking output for my data (nice looking TABLE) there is pleny of unnessecery features, what I need to turn off, disable etc,
I wonder if is it a ExtJS class that look like a grid, got store inside - so can be loaded, updated..
I've had a lot of performance problems with ExtJS Grid, so my solution was to switch to ListView. It is a lot simpler, doesn't have that many features, but still supports data stores.
You can use Ext.extend
to create a GridPanel which has defaults exactly as you'd like them:
ConfiguredPanel = Ext.extend(Ext.grid.GridPanel, {
constructor: function(cfg) {
cfg = Ext.applyIf(cfg || {}, {
// defaults
});
}
});
The winner isssssssss...
Ext.list.ListView !
精彩评论