[SOLVED] How to disable preselected row on datagridview?

Answered
0
0

When we add datagridview with simple column and fill it by data – we had preselected row when its loaded (it marks by litle arrow). And when we try to use base sorting for row – focus goes to the bottom (following that arrow).

Attachment
  • You must to post comments
Best Answer
0
0

Hi Dmitry,

is your DataGridView data bound ?
You may try setting CurrentCell of the DGV to null after binding is complete.

Hope that helps.

Best regards
Frank

  • You must to post comments
Showing 1 result
Your Answer

Please first to submit.