so i have this simple object
var dataSource = new kendo.data.DataSource({
data : ["One", "Two"]
});
console.log(dataSource.data[0]);
kendo.bind($("#container3"), {});
im trying to get the value of "One" or "Two" but i always get undefined.
console.log(dataSource.data[0]);
CodePudding user response:
use
dataSource.transport.data[0]
instead of
dataSource.data[0]