Make a lookup combo

Posted by: eugen-rata on 8 September 2017, 12:40 pm EST

  • Posted 8 September 2017, 12:40 pm EST

    Hi

    I have a spread bound to a datasource. How do I make a column having a combobox which would serve as a lookup for values from another table from the same datasource.

    And, why the Items property for  ComboBoxCellType is of type string[] and not as ObjectCollection as it is done for any combobox in .NET?
    By having string[] I can't fill with my own type of objects, which is TOO bad.

    Thx for any help.
  • Replied 8 September 2017, 12:40 pm EST

    Hello,


    With version 3 of Spread for WIndows Forms, we have a new combobox celltype (MultiColumnComboboxCellType) which can have the list bound to a DataSource and have the DataFields of the bound DataSource as non string fields.

Need extra support?

Upgrade your support plan and get personal unlimited phone support with our customer engagement team

Learn More

Forum Channels