Hightligt Row in Report when Mouse Hovers over

  • Hi,

    Is there a property in Reporting Servcies 2008R2 that will hightlight the report row when the mouse hovers over it? I have a requirement to do this. Current my report has the green bar effect on the rows but users want the row hightlighted when the mouse is over it.

    Thanks

    MCTS: BI 2008, MCITP: BI 2008
    Stay Thirsty My Friends

  • I don't believe there are any properties that would allow you to do this within SSRS. There is the ToolTip, but that won't highlight the cell, it will put up a bubble and there is usually a delay of a second or two. You could try a Create Placeholder in a textbox and put some JavaScript in the HTML section, but I have no idea if that would work.

  • Same thing here. AFAIK there's little to no events in the code of SSRS. Assuming they don't exists you're stuck going to asp.net to do a hover class. I'm trying to think of a way to put it in ssrs but I'm not inspired at the moment...

  • ok, it's possible in HTML, but how to inject it into a report is the part i cannot help with.

    you can google "CSS highlight TR" for code examples, but essentially, you have to get the < tr > tag to have events to change/highlight the row.

    <tr

    onmouseover="this.className='highlight'" onmouseout="this.className='normal'">

    Lowell


    --help us help you! If you post a question, make sure you include a CREATE TABLE... statement and INSERT INTO... statement into that table to give the volunteers here representative data. with your description of the problem, we can provide a tested, verifiable solution to your question! asking the question the right way gets you a tested answer the fastest way possible!

  • Lowell (5/4/2011)


    ok, it's possible in HTML, but how to inject it into a report is the part i cannot help with.

    you can google "CSS highlight TR" for code examples, but essentially, you have to get the < tr > tag to have events to change/highlight the row.

    <tr

    onmouseover="this.className='highlight'" onmouseout="this.className='normal'">

    Appreciate your help. Thanks.

    MCTS: BI 2008, MCITP: BI 2008
    Stay Thirsty My Friends

  • Well there's your answer...

    do you have the option to export and send via e-mail? With a little work you'd just have to export the file and change the html code... shouldn't be too hard.

Viewing 6 posts - 1 through 5 (of 5 total)

You must be logged in to reply to this topic. Login to reply