Hi,
I have a ListBox which is bound to a JSON data source.
As soon as I try setting checkboxes: true, the ListBox fails to display anything… but as soon as the property is removed, it displays my data fine.
$("#listbox").jqxListBox({source: dataAdapter, checkboxes: true, allowDrag: false, displayMember: "DisplayName", valueMember: "Sequence", width: 200, height: 400, theme: theme});
Here is my datasource:
var url = "json/admin/numbers.php"; // prepare the data var source = { data : { NUMBER: "18" }, datatype: "json", datafields: [ { name: 'DisplayName' }, { name: 'Sequence' } ], id: 'id', url: url, type: "POST" }; var dataAdapter = new $.jqx.dataAdapter(source);
Any ideas would be great! Thanks