Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
340
Sorting a combobox column on valuemember instead of display member
posted

I have a grid with a month column where I have an .EditorComponent = UltraComboBox

The ComboBox has two columns Monthnumer and month name.

When I sort the grid on the month column it is sorted by month name(IE April comes first). I want the column to sort by month number instead (IE January first).

In the grid datasource the value fot the month column is the month number. Is there a way to make the grid ignore the displaymember proprerty of the combobox and sort on the value member instead.