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.
Unfortunately, activation email could not send to your email. Please try again.

Highlight current row and current col at the same time

Thread ID:

Created:

Updated:

Platform:

Replies:

50707 Oct 17,2006 01:27 PM Oct 23,2006 12:22 PM Windows Forms 4
loading
Tags: GridControl
Administrator [Syncfusion]
Asked On October 17, 2006 01:27 PM

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.

Administrator [Syncfusion]
Replied On October 18, 2006 06:54 AM

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

Administrator [Syncfusion]
Replied On October 18, 2006 01:09 PM

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

Jayakumar Natarajan [Syncfusion]
Replied On October 20, 2006 10:12 AM

Hi Surti,
Here is the VB project:

HighlightCurrentRowCol_VB.zip

Regards,
Jay

Administrator [Syncfusion]
Replied On October 23, 2006 12:22 PM

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

CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.

;