PDA

View Full Version : [INFOREQ] Grid Column overCls Does Nothing



kgmoney
16 Nov 2011, 7:47 AM
Hi,

Unless I am using it incorrectly, the overCls config for grid columns doesn't seem to do anything. My expectation is that on mouseover, the entire column under the mouse would take on the class specified in the overCls and then revert on mouseout.

To test this, I simply modified one of the grid examples.

The original thread is: http://www.sencha.com/forum/showthread.php?155191-Highlighting-Grid-Column-Dynamic-Column-Styling&p=674186

Thanks,
Kevin

mitchellsimoens
19 Nov 2011, 2:22 PM
I don't believe overCls will be placed on the entire column. This is the only reference to overCls in Column.js:


el.addCls(Ext.baseCSSPrefix + 'column-header-align-' + me.align).addClsOnOver(me.overCls);

So I would expect it to add overCls to the header only.