Skip to main content

data

specifies an array of data objects to set into the combobox

data?: DataCollection<any> | any[];

Example

var combo = new dhx.Combobox("combo_container",{    data: [        {            "value": "Austria",            "src": "../common/flags/at.png"        },        {            "value": "Belgium",            "src": "../common/flags/be.png"        },        {            "value": "Bulgaria",            "src": "../common/flags/bg.png"        },        {            "value": "Cyprus",            "src": "../common/flags/cy.png"        }});

Related sample: Combobox. Config Data

Change log:

added in v6.4