Quantcast
Channel: Windows Forms Data Controls and Databinding forum
Viewing all articles
Browse latest Browse all 2535

How to Force a Cell into Edit Mode in a DataGridView

$
0
0
Any ideas on how to programmatically force a cell into Edit Mode in a DataGridView?
Background: I have an ImageColumn which allows user to popup a list of 'favourite items' and select one. On selection i am populating another cell with the chosen value, and would like to automatically put that cell in edit mode. (I am not using a ComboBoxColumn because they can edit the value in the column to any value they like).
Also, I know the row and column index of the cell i want to put in edit mode.

Viewing all articles
Browse latest Browse all 2535

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>