How to sort a DatagridView on a ComboBox Column

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top