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
15
How to Sort a column Bound to UltraComboEditor which is not a display member
posted

I have an UltraComboEditor, The source Table contains 4 columns.

Code(string), Description(String), Filer(string), createdDate(DateTime)

UltraComboEditor's valuemember is code and Displaymember is Description.

I would like to display only Description by sorting CreatedDate by descending.

when I try with below code:

combo.DisplayLayout.Bands[0].Columns["CreatedDate"].SortIndicator = SortIndicator.Descending;

its not displaying description as sorted by created date.

Could you let me know how to achieve this?