The data source of dropdown.
If set to string, then the dropdown is going to use this string as a url for ajax requests to the server.
If set to object, then the dropdown is going to use this object as settings for the jquery ajax function.
If set to array, then the dropdown is going to use the array as data for dropdown nodes.
Examples
Local DataSource
<select id="dropdown" width="200"></select>
<script>
$('#dropdown').dropdown({
dataSource: [ { value: 1, text: 'One' }, { value: 2, text: 'Two' }, { value: 3, text: 'Three' } ]
});
</script>
Remote DataSource
<select id="dropdown" width="200"></select>
<script>
$('#dropdown').dropdown({
dataSource: '/Locations/Get',
valueField: 'id'
});
</script>