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
539
How can i get hover effect in ultrawebgrid
posted

Hai

 

 

How can i get the hover effect on a row in ultrawebgrid

 

Eg:-when i moves my mouse on a row in a grid,i want to change the back colour of the hovered row.

 

 

Pls some body Help me

 

 

Regards

Rajesh Kamalakshan 

Parents
No Data
Reply
  • 80
    posted

    Doing this with javascript is a good option, but I want to do it with css, something like this:

    <DisplayLayout>

        <RowStyleDefault CssClass="gridRow" />

    </DisplayLayout>

    and the css is:.gridRow:hover
    {
       background-color:Red;
    }
    However this hover's the cell, not the row. This is because, when I look at the generated HTML, the class 'gridRow' is associated to <TD> not <TR>. I also tried associating the class name to the FrameStyleDefault, but did not work; it hovers the entire table.

    Any ideas how this can be accomplished? Thx

Children