Hi,
I have a datagrid. I have some code to select the entire row if a cell is clicked on:
When this fires, it does select the entire row, but it also leaves the cursor in the selected cell and the background colour changes and basically looks rubbish.Code:dataGrid1.Select(dataGrid1.CurrentCell.RowNumber);
I cant think of a way to stop this - I want the behaviour to be the same as clicking on a row header (which I have hidden for this excercise).
Please can somebody help me???
Thanks,
DJ




Reply With Quote