BlackKnight
Programmer
Hi,
I am using VB.NET 2010 and the datagridview control. When I set the selectionmode property to fullrowselect and the rows are displayed the first row is automatically highlighted.
I understand that this may be default behaviour for the datagridview control but is there a way to stop it? I don't want the first row to be auto highlighted.
I have checked the selectedrows, selectedcells, and selectedcolumns counts and they are all 0. I have tried deselecting rows before the datagridview is displayed but ir didn't work.
If you have any questions then please let me know.
Thanks,
BK
I am using VB.NET 2010 and the datagridview control. When I set the selectionmode property to fullrowselect and the rows are displayed the first row is automatically highlighted.
I understand that this may be default behaviour for the datagridview control but is there a way to stop it? I don't want the first row to be auto highlighted.
I have checked the selectedrows, selectedcells, and selectedcolumns counts and they are all 0. I have tried deselecting rows before the datagridview is displayed but ir didn't work.
If you have any questions then please let me know.
Thanks,
BK