Change width of dropdown in EditControlShowing event

  • Thread starter Thread starter MS
  • Start date Start date
M

MS

Hi,

I have a datagridview with few combobox columns. Comboboxcolumns are bound
to datatable. In EditControl showing event I change the style to Dropdown to
allow for typing. The width of ComboBox that appears on clicking the cell is
smaller than the column size. How can I change the width of EditingControl. I
tried changing the width and dropdown Width of comobox but it's not changing.

Also, I see two dropdown when I click on dropdown arrrow of ComboBox in a
grid cell and I when I start to type I see another one that is shown over the
first one.
How can I have only one dropdown showing?

Any help would be great.

Thanks
 
I have a datagridview with few combobox columns. Comboboxcolumns are bound
to datatable. In EditControl showing event I change the style to Dropdown
to
allow for typing. The width of ComboBox that appears on clicking the cell
is
smaller than the column size. How can I change the width of
EditingControl. I
tried changing the width and dropdown Width of comobox but it's not
changing.

Also, I see two dropdown when I click on dropdown arrrow of ComboBox in a
grid cell and I when I start to type I see another one that is shown over
the
first one.
How can I have only one dropdown showing?

Could you post a demo someone else could run to see the problem?

That would greatly speed up your amount of responses, and how quickly the
problem gets solved.
 
Hi Mike,

Thanks for the response. Is it possible to send you the project via email
attachment?

Thanks
 
Hi Mike,

What I am trying to do is allow user to type in combobox cell from within
datagridview cell and have the ability to show a filtered data in drop down
list as they type in. Any suggestion on how to implement filter as they type
in will be helpful

Thanks
 
Back
Top