Hi folks,
I have a datagridview with filled cells in it. If I click right a contexrmenu pops up. How can I select the cell and only the cell which must be highlighted when I click the cell and not the entire row. Th ecode I tryed:
if (e.Button == MouseButtons.Right) { dgvLoginReaparatie.Rows[e.RowIndex].Selected = true; }
All in the MouseDown event.
Thanks
Rinaldo
Full of ideas but don´t know how.