Reputation: 13097
I've build a number of WinForms applications that use DataGridView grids with combo box columns. There seems to be a basic flaw in the user interaction for these controls. Typically my audience is made up of business users who what to perform keyboard driven layout, and they expect auto complete selection when they encounter a dropdown control.
I've seen 2 basic problems with this control type:
I know that one solution is to use a different control library. Before long I expect to be doing live projects with WPF, but there will still be WinForm maintenance for years to come. I've tried many tweaks to the auto-complete and dropdown style settings, but I've never come up with a configuration that really works for poweruser level keyboard based data entry.
Any suggestions?
Upvotes: 0
Views: 823
Reputation: 2056
Well, for the 1st problem, are you setting DataGridView.EditMode to DataGridViewEditMode.EditOnEnter?
As for the 2nd, if the out of the box editing control for the ComboBox column isn't doing what you want, you can always roll your own using the IDataGridViewEditingControl interface.
Upvotes: 1