0
我正在使用kendo核心ui(免费版),我不确定我需要在我的视图中做什么来遍历数据...老实说,我我不确定甚至要寻找什么。我尝试使用模板,但无法让它工作。我想在表格中显示数据。这是我的视图模型。如何遍历视图中的kendo datasoure
var dataSource = new kendo.data.DataSource({
transport: {
read: {
url: '/Customer/GetCustomers',
dataType: 'json'
}
}
});
dataSource.read();
var viewModel = kendo.observable({
title: 'Current Customers',
AllCustomers: dataSource,
});