I'm working on a basic exercise where my DataSource object is not returning any data. Here's a snippet of the code:
var data = new kendo.data.DataSource({
transport: {
read: {
url: "data.json",
dataType: "json"
}
}
});
console.dir( data );
The content of data.json file is as follows:
[
{
"text": "Brand One"
},
{
"text": "Brand Two"
},
{
"text": "Brand Three"
},
{
"text": "Brand Four"
}
]
Can anyone provide any insights or suggestions?