We are currently using an multi-column UltraDropDown as the ValueList for a column in an UltraGrid. When that pops up for the user to select a row, the columns are not sortable. Is there a way to make the columns in an UltraDropDown sortable? My alternative has been to try and use an UltraGrid instead of an UltraDropDown, but I get a runtime error "Unable to cast object of type 'Infragistics.Win.UltraWinGrid.UltraGrid' to type 'Infragistics.Win.IValueList'." What am I missing to get this to work correctly?
I guess the overriding question is - on an UltraGrid how do I get one of the columns to look like a dropdown and when the user clicks to open the dropdown, it ends up with a multi-column grid that is sortable by the user (and filterable if possible)?
Premier Dealer Services
In order to have a dropdown column, that has sorting and filtering functionality, what I can suggest you is to use an UltraCombo as EditorComponent of that column. It supports both, sorting and filtering, however the filtering is limited to HeaderIcons only as opposed to the filter row in the UltraGrid, but it will still allow you to do custom filtering.
I have prepared a small sample application, which demonstrates the addition of column that has UltraCombo with sorting and filtering set as its EditorComponent. Please test it on your side and let me know how it behaves. If this is not an accurate demonstration of what you are trying to achieve, please modify it and send it back with steps to.
Please let me know if you have any questions.
Regards, Ivan Kitanov
Sorry for the delayed response - production issues came up yesterday.
Thank you for the information and code. I was able to change my UltraDropDown to an UltraCombo and add the "combo.DisplayLayout.Override.HeaderClickAction = SortMulti" line in the designer and it's now performing exactly as I would like.
I appreciate your help.
I'm glad that you found my solution helpful and managed to resolve your issue.
Thank you for using Infragistics!