I would like to be able to set up the grid so that in the first column of the grid a small triangle is shown if the currently selected cell is on that row. Excel does a similar thing but highlight the first column when a cell is selected on that row. I have "allow selection" set to none.
ADAdministrator Syncfusion Team December 2, 2004 03:37 AM
Actually, I think Excel colors the headers instead of showing an icon.
But you can do either, coloring is a simpler as you do not have to manage an icon and draw it.
You can use these events to handle colring teh current header row/col.
If you want to use an icon, instead of PrepareViewStyleInfo, you can handle the CellDrawn event. There if it is a current row header, draw your icon. You would still need the CurrentCellMoved event to force the headers to be redrawn.