3.0.5

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
October 20,
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
October 20,

This topic is archived.

See also:


Back to support forum