HI,
I'm struggling to successfully bind to my JSONP service, the results come back fine, but it is as an array, and from the examples, i can not see how to pull a specific index out. im sure its something to do with the schema, but i cant seem to figure it out.
my service returns like the following
If this is not a standard JSONP, then my other question is, how can i add items explicitly to a control (eg combobox), such as combobox.items.add("Item 1");
many thanks
I'm struggling to successfully bind to my JSONP service, the results come back fine, but it is as an array, and from the examples, i can not see how to pull a specific index out. im sure its something to do with the schema, but i cant seem to figure it out.
my service returns like the following
?( { "name": "tempLocSearch", "columns": [ "UniqueId", "Parent", "DisplayName", "Type", "X", "Y", "Rank", "Name", "Zoom"], "data": [ [ "010023831054", "17800386", "<b>Pathfinder</b> House, St Marys Street, Huntingdon, PE29 3TN", "Property", "523999", "271531", "22%", "Pathfinder House, St Marys Street, Huntingdon, PE29 3TN", "100" ] , [ "010090390725", "17800386", "Customer Service Centre, <b>Pathfinder</b> House, St Marys Street, Huntingdon, PE29 3TN", "Property", "524029", "271563", "15%", "Customer Service Centre, Pathfinder House, St Marys Street, Huntingdon, PE29 3TN", "100" ] ], "total": 0 });If this is not a standard JSONP, then my other question is, how can i add items explicitly to a control (eg combobox), such as combobox.items.add("Item 1");
many thanks