hi there,
i have a datagridview view in a C# .NET form and when in the run time when i want to select the the combo box i have to click on it for 3 times, y is this. how ca i make it to drop down the items in it when i click on it for 1 time. how can i do this,

thanxxxxx

One click to select the cell.
Then one click to begin edit (if not on the arrow).
Then one click to show the drop-down.
If you click on the drop-down arrow then it takes two clicks.

One click to select the cell.
Then one click to begin edit (if not on the arrow).
Then one click to show the drop-down.
If you click on the drop-down arrow then it takes two clicks.

hey,

how can i make it one click,
can i do it. less number of clicks

thanxxxxxxxx

Not sure if this will work cos I can't try it.
But try changing the EditMode propety on the datagrid to EditOnEnter .
Let me know what happens.

Not sure if this will work cos I can't try it.
But try changing the EditMode propety on the datagrid to EditOnEnter .
Let me know what happens.

hey what to i have to do in the Edit mode or in the Edit on enter mode.

thanx

Change it in the Properties. Right click -> Properties.

change the EditMode propety on the datagrid to EditOnEnter

Assuming it works, I don't really know if that solves it.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.