We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date
close icon

Highlight current row and current col at the same time

Hi,

What can i do it??? i want to highlight col and row of the current cell.
To do this only for the row i used events PrepareViewStyleInfo, CurrentCellActivated and CurrentCellDeactivated.

Thanks,
Surti.

4 Replies

AD Administrator Syncfusion Team October 18, 2006 10:54 AM UTC

Hi Surti,

Please try the attached sample that helps in highlighting both row and column of the currentcell.
Here is a sample HighlightCurrentRowCol.zip

Let me know if this helps.
Regards,
Rajagopal


AD Administrator Syncfusion Team October 18, 2006 05:09 PM UTC

Hi, sorry, i forgot to say that my code is VB.Net.
Also, i tried to implement with the sample you sended me and the result is that not refresh the grid.
When i clicked a cell only is highlighted the column, not the row.

>Hi Surti,

Please try the attached sample that helps in highlighting both row and column of the currentcell.
Here is a sample HighlightCurrentRowCol.zip

Let me know if this helps.
Regards,
Rajagopal


JN Jayakumar Natarajan Syncfusion Team October 20, 2006 02:12 PM UTC

Hi Surti,
Here is the VB project:

HighlightCurrentRowCol_VB.zip

Regards,
Jay


AD Administrator Syncfusion Team October 23, 2006 04:22 PM UTC

Hi, thanks, the sample works well.
Only one thing that don´t work like i want, when grid lost focus the file was highlighted is refreshed, but the column continue highlighted.
I want to "un-highlight" file and col.

>Hi Surti,
Here is the VB project:

HighlightCurrentRowCol_VB.zip

Regards,
Jay

Loader.
Live Chat Icon For mobile
Up arrow icon