:: Forum >> Version 2 >>

Change header color dynamically

Can any one please tell the way to change the header text /background color in grid dynamically ? ( Ex: MouseOver event on Header, need to change the header color.. )
Ganesh
Tuesday, October 20, 2009
Based on post #21868 , you can do something like:

var disabled = new AW.Grid.Header;
disabled.onMouseOver = function(col){ return this.getContent("box").setStyle("background""red") };
disabled.onMouseOut = function(col){return this.getContent("box").setStyle("background""#EBEADB") }; 
HTH
Carlos
Tuesday, October 20, 2009



This topic is archived.

Back to support forum

Forum search