Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
310
UltraWebGrid change background row colour
posted

HI,

I am searching a row in ultrawebgrid and highlighting with "yellow" color.

I am highlighting the row from code behind.

e.g

rows.Style.BackColor = System.Drawing.Color.FromArgb(255, 255, 185)

Now my requirement is that after clicking outside row color should be change.I am doing this throuugh javacript.

row.Element.className = "deactiveColor"

"deactiveColor" is my classname.

I tried 

activeRow.Element.style.backgroundColor = "Red";

and

activeRow.Element.bgColor = 'red';

 

but this is not working.