I am developing a Windows Forms application that uses a DataGridView
for a user to enter some data. The user enters the data into a DataGridViewTextBoxCell
. This works fine, however if the user wants to go back and edit that data, the existing text there automatically gets selected and overwritten when the user starts editing.
I would like the DataGridViewTextBoxCell
to behave more like a regular TextBox
control. I want the user to simply be able to insert the carat anywhere in a DataGridViewTextBoxCell
they have already entered text into, and then start editing without any existing text being overwritten.
Any suggestions?