Get item list from C1Combo

Posted by: pauld on 3 July 2025, 6:37 pm EST

  • Posted 3 July 2025, 6:37 pm EST

    We have a C1Combo, populated with AddItem(), and I cannot recall how to get the list of items in the C1Combo.

    Thanks.

  • Posted 4 July 2025, 5:52 am EST

    Hi Paul,

    In AddItem mode, the C1Combo internally creates a DataTable object and uses it as its DataSource. So, after adding items using the AddItem method, you can retrieve the underlying DataTable using the DataSource property and perform any desired operations:

    if(c1Combo1.DataSource is DataTable underlyingTable)
    {
        //perform your action here
    }

    Best Regards,

    Kartik

Need extra support?

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

Learn More

Forum Channels