2

So right now I have an ExtJS GridPanel that is laid out in the following manner:

|Header 1|Header 2|Header 3|Header4|
|Data 1  |Data 2  |Data 3  |Data 4 |
|Data 1  |Data 2  |Data 3  |Data 4 |

What I should like to do is have it displayed in the following manner:

|Header 1|Data 1|Data 1|
|Header 2|Data 2|Data 2|
|Header 3|Data 3|Data 3|
|Header 4|Data 4|Data 4|

Is there anyway to accomplish this WITHOUT dropping the GridPanel?

Kris
  • 1,789
  • 3
  • 18
  • 27

1 Answers1

3

I think you're looking for the PivotGrid.

Example here.

wombleton
  • 8,336
  • 1
  • 28
  • 30
  • Thank you. Unfortunately the PivotGrid was introduced in ExtJS 3.3.0 and I am forced to use 3.0.0. I tried porting it but no luck thus far. I'll mark you as the answer since it answers my question and is the best solution. Unfortunately for me I'll need to find something else. – Kris Feb 28 '11 at 20:48
  • Ah. That's a pain. Have you looked at overriding `GridView`'s `doRender`? It looks like you could get "most" of the way there by hacking that, for a given value of most. http://dev.sencha.com/deploy/dev/docs/source/GridView.html#prop-Ext.grid.GridView – wombleton Feb 28 '11 at 20:56