PDA

View Full Version : Cascading the column menu of a grid panel



lukaslentner
9 Jun 2010, 3:34 AM
Hi,

I'd like to find a way to introduce some structure to the list of columns in the header menu of the panel grid. One menu level would be enough. I imagine it like that:
Columns:


Private Properties

Name
Id

Public Properties

Job
Friends


Does sb. know which functions I have to override? I don't know how to find the point in the source where the menu is build.

Many Thankx in advance

Lukas

lukaslentner
9 Sep 2010, 4:04 AM
Ok,
i've got it by overriding the beforeColMenuShow method in the gridview

Condor
10 Sep 2010, 2:28 AM
If you create an Ext.ux.grid.ColumnHeaderGroup to add 'Private' and 'Public' group headers to your grid you automatically get this when you configure it with hierarchicalColMenu:true.

lukaslentner
15 Mar 2012, 9:26 AM
Thankx man, that worked