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
355
problem with ultracombo DisplayMember
posted

Hello All.

I have a table  with two columns, ID and Description

Also i have an other table with a column containing a list of IDs comma separed.

this table is bounded to an ultragrid, and i want to show IDs column with multi-selection UltraCombo:

Then, i bounded UltraCombo to first table, and set  EditorComponent of Ultragrid column to my UltraCombo instance.

All works, but in the cell i see list of IDs comma separed, while i would see descrptions comma separed.

 so i set DisplayMember= "Description" 

but it's doesn' work.. i'm not able to see neither ids and descriptions

could you help me please?

I hope my problem is clear.

thanks a lot.

MAuro

 

  • 48586
    posted

    Hello, ­­­­­

     

    I am just checking about the progress of this issue. Let me know If you need my further assistance regarding  this  matter?

     

     

    Thank you for using Infragistics Components.

  • 48586
    posted

    Hello,

    When UltraComboEditor is configured to allows user for multi-selection of items, it returns as value an array of DataMembers objects, which means that the UltraGrid’s columns, on which UltraComboEditor is applied, should be of type object or array of  UltraComboEditor’s DataMembers objects. Then the grid will displays comma separated list of DisplayMember array of UltraComboEditor as value of the cells. To be clear, I have created a small sample in order to demonstrate this. Please run the sample and let me know if this is the desired behavior, which you want to achieve.

    Please let me know if you have any further questions.

    89977.zip