PDA

View Full Version : Changing Background Color in IE



Cyberangel67
20 Aug 2009, 3:29 PM
I have a small problem that I am not sure how to solve, I am using the following in Fire Fox to remove a background-color from a cell in a grid. But this doesn't work in IE 8 anyone have any ideas?

cellNode.setStyle('background-color', null)

Now I could set the color to white, but as this is a grid with alternating rows I am unable to do this, and would prefer to remove the style attribute.

Cyberangel67
20 Aug 2009, 3:43 PM
Ignore this post I was able to replace the null with "" and it works as expected :-)