Here's a combination of the LockingGridView and the regular GroupingView which comes in handy if you want both the locking and grouping functionality at the same time. Tested in IE7/8, FF3 and Safari. To test it, just extract the zip file into your Ext JS examples folder. This extension is the base for the Ext Gantt
That's basically some magic based on Condor's groupingheader plugin adapted for the lockinggridview. When I have more time I'll look at dropping into the UX section too!
Great job by the way. I'm going to be testing this further with the groupSummary plugin and the gridSummary plugin to see if this will work for a project I'm working on.
I may have found a bug. If you Unlock the grid then you lose the grouped column. So for instance. Invoke the context menu from Company and choose Unlock. The Group1, Group2, etc headings disappear and only reappear if you show the column. But I don't want to show the column, I want it grouped by the column. Shouldn't Lock/Unlock leave the look of the grid unchanged except the fact the scroll bar now extends the entire grid?
Sorry for the long winded post. Just wanted to make sure I hit the angles that ran through my head.
You are right, this is kind of a special case. The grouping header is only shown in the locked part of the grid, I guess I could check if no locked columns exist and render the header into the unlocked group in that case. Good catch
Code in original zip package has been updated with this fix!
That's basically some magic based on Condor's groupingheader plugin adapted for the lockinggridview. When I have more time I'll look at dropping into the UX section too!
Hi mankz,
I am working on a project that requires all 3 capabilities (Locking + Grouping + Multiheader).
Is it possible for you to create this user extension?
I tried in Ext 4 (see attached).
Multiheader and Locked work together, but the grouping does not work.
I didn't try your plugin with Ext 4, but I am assuming that it's not compatible.
Can you upgrade it to 4?