View Full Version : [4.1.1a] How do I get a grid's headerCt

9 Oct 2012, 9:42 AM
What is the best way to get the grid's headerCt in 4.1.1a?
In the past I had a plugin that on render would get grid.headerCt. I'm not seeing that as a property of the grid object in 4.1.1a.
I saw a private method on the grid's view for getHeaderCt, but it seems to be returning undefined as well.

I'm trying to get the contextmenu click event on a column header ultimately and from that get the column that was context clicked.

So, was going to add a 'contextmenu' listener on the header's el, but can't seem to find it today.


9 Oct 2012, 10:56 AM
I think I figured this one out for myself. I had configured the grid with a locked column and headerCt was a property under the lockedView property/object for the locked grid view and under normalView for the unlocked grid view.

My first foray into locked columns territory...