Adding values in combobox celltype

Posted by: koustubh on 8 September 2017, 1:41 pm EST

  • Posted 8 September 2017, 1:41 pm EST

    Sir, I am using spread control for VS 2005 for windows application, On spread I want to populate combobox cell type with text value pair,

    But I am able to add only text. How can I add Values for the same? My code as as follows.

    <FONT size=2>

    FarPoint.Win.Spread.CellType.</FONT><FONT color=#008080 size=2>ComboBoxCellType</FONT><FONT size=2> cb = </FONT><FONT color=#0000ff size=2>new</FONT><FONT size=2> FarPoint.Win.Spread.CellType.</FONT><FONT color=#008080 size=2>ComboBoxCellType</FONT><FONT size=2>();

    cb.Items = Somestring.Split(</FONT><FONT color=#800000 size=2>','</FONT><FONT size=2>);



  • Replied 8 September 2017, 1:41 pm EST

    You need to use the Items and ItemData properties to do this.
Need extra support?

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

Learn More

Forum Channels