function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
raju.Braju.B 

How to highlight a column after clicking on it..

Hi,

I need to highlight a column after clicking on it...

 

Can any one help me out..??

 

 

Thanks & Regards,

Raju.B

Rahul S.ax961Rahul S.ax961

You have to use onclick function like this example:

 

 

<HTML>
<HEAD>
<TITLE>MouseOver in a Table</TITLE>
</HEAD>
<BODY>
<TABLE BORDER=1>
<TR>

<TD id=X1 onmouseover="X1.style.fontWeight = 'bold';"
onmouseout="X1.style.fontWeight = 'normal';">
Bolds OnMouseOver</TD>

<TD id=X2 onmouseover="X2.style.color='teal';"
onmouseout="X2.style.color='black';">
Color changes OnMouseOver</TD>

<TD id=X3 onmouseover="X3.style.color='blue',
X3.style.fontWeight='bold';"
onmouseout="X3.style.color='black',
X3.style.fontWeight='normal';">
Bolds and Changes Color OnMouseOver</TD>
</TR>

</TABLE>
</BODY>
</HTML>

 

 

raju.Braju.B

Hi, 

Thanks for the reply...

Actually after clicking on that column the colour should be like that only.

 

i mean it should to come to prevous stage.

 

can u help me.???

Rahul S.ax961Rahul S.ax961

Could you please explain your requirement clearly.

And if possible, then please provide your code snippet.