Solved

Highlighting gridview row on mouseover - highlighting specific sections of the selected row

Posted on 2013-06-06
2
326 Views
Last Modified: 2013-06-09
There are a number of articles on highlighting gridview rows, but how do I split the highlight function down the middle of the gridview to create a split highlight function ?

ie:- (a) the left hand fields in the selected row are only highlighted when there is a mouseover on any one of the left hand cells and (b) the right hand fields are only highlighted (in a different color to the lefthand highlights) when there is a mouseover on any one of the right hand cells.

Eg : A gridview returns six fields with results in three rows as follows:-

A1 B1 C1 D1 E1 F1
A2 B2 C2 D2 E2 F2
A3 B3 C3 D3 E3 F3


On mouseover on B2: A2,B2,C2 are all highlighted - ie the left hand side of row 2
On mouseover on F3: D3,E3, F3 are all highlighted - ie the right hand side of row 2
etc etc...

For reference there will always be an even number of fields in the gridview so the lefthand side and righthand side will always have an equal number of fields.
0
Comment
Question by:doolinn
2 Comments
 
LVL 22

Accepted Solution

by:
Mrunal earned 500 total points
ID: 39228105
Here is your solution:

http://jsfiddle.net/qbyvN/

:-)
0
 

Author Comment

by:doolinn
ID: 39230761
Thanks - all works well.
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

I recently went through the process of creating a Calendar Control of events with the basis of using a database to keep track of the dates that are selectable, one requirement was to have the selected date pop-up in a simple lightbox.  At first this…
It was really hard time for me to get the understanding of Delegates in C#. I went through many websites and articles but I found them very clumsy. After going through those sites, I noted down the points in a easy way so here I am sharing that unde…
This Micro Tutorial demonstrates using Microsoft Excel pivot tables, how to reverse engineer competitors' marketing strategies through backlinks.
As a trusted technology advisor to your customers you are likely getting the daily question of, ‘should I put this in the cloud?’ As customer demands for cloud services increases, companies will see a shift from traditional buying patterns to new…

863 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now