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
1310
UltraCombo Datasource array
posted

I need a simple combo dropdown with two columns.

I have the data in an array and I am trying to get it into the ultracombo.

What is the best way to do this?

 

Parents
No Data
Reply
  • 469350
    Verified Answer
    Offline posted

    If you have the data in an array of objects and the two fields you want to display are public properties on those objects, then the easiest thing to do is to just set your UltraCombo's DataSource to the array.

    If that doesn't work because the properties aren't public or the array does not contain objects, then I'd recommend that you copy the data into an UltraDataSource component and use that as the DataSource of your combo.

Children