Ihave datagrid control with 10 coclums. All of them are Combo Box columns. But only 5 of them can be visible at a time and hence there is the Horizontal Scroll Bar. If I click on a cell of a partially visble column, the drop down window of the combo box assoicated to the cell is displayed partially outside the datagrid view control.
I am using the following code in the mouse click event of a cell to display the Drop Down Menu in a single click. Is there a way to correct the problem. I want to display the dropdown menu within the datagridview
dataGrid.BeginEdit(true);
DataGridViewComboBoxEditingControl editingControl= (DataGridViewComboBoxEditingControl)dataGrid.EditingControl;
editingControl.DroppedDown =
true;
I am looking forward for the responses