dataSource

The data source for the possible options. More information about the DataSource you can find here:


<input id="combo" ></input>

<script type="text/javascript">

    $(function () {
        $("#combo").shieldComboBox({
            dataSource: {
			    data: countries
		    },
		    textTemplate: "{name}",
		    valueTemplate: "{code}",
            inputTemplate: "{name}"
       });
    });

</script>