Mike Sickler
Mike Sickler

Reputation: 34431

Can the ExtJS GridPanel support column groups?

I would like to have a gridpanel with columns that are broken into 2 sub-columns, kind of like this:

| Monday | Tuesday | Wednesday | Thursday |

| In | Out | In | Out | In | Out | In | Out |

| 9 | 4 | 10 | 5 | 8:30| 4 | 10 | 5 |

Is this possible with ExtJS?

Upvotes: 2

Views: 2050

Answers (2)

aswininayak
aswininayak

Reputation: 973

In Ext 4.1.3 You can see http://docs.sencha.com/ext-js/4-1/#!/example/grid/group-header-grid.html

It supports group headers.

Upvotes: 0

Tewr
Tewr

Reputation: 3853

Yes, this is definitively possible. However, you will not find this as out-of-the-box functionality. There is a user extension/plugin (2.0 here) that should do the trick for you. There is also an example in the ExtGWT samples demo that has similar functionality.

Upvotes: 2

Related Questions