How to sort a DatagridView on a ComboBox Column

  • Thread starter Thread starter GregMandel
  • Start date Start date
G

GregMandel

Hi,

I have a problem with the DatagridView of VB 2005.

In a DatagridView I have a databound DataGridViewComboBoxColumn. My
problem is now, that if I click in the header of this column, VB sorts
the grid on the ValueMember (which is a non-significant ID number) and
not on the DisplayMember (which is a significant text).

This is for the user very confusing, because he sees a list that is not
sorted on the displayed information.

Anyone has an idea how I can sort my list alphabetically?

In advance, thanks for all responses.

Bye,

Ralf
 
Back
Top