bensiu
bensiu

Reputation: 25564

ExtJS grid as display only

Ext.grid.GridPanel is very 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..

Upvotes: 1

Views: 395

Answers (3)

Egor Pavlikhin
Egor Pavlikhin

Reputation: 17981

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.

Upvotes: 2

bensiu
bensiu

Reputation: 25564

The winner isssssssss...

Ext.list.ListView !

Upvotes: 0

wombleton
wombleton

Reputation: 8376

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
    });
  }
});

Upvotes: 1

Related Questions