我有一个剑道 ui 网格。假设调用了指向网格的 JS 变量grid
。如何以编程方式转到第 3 页?谢谢。
问问题
44615 次
2 回答
10
Answer is just set it pate: 1 when datasource created
var dataSource = new kendo.data.DataSource({
data: [
{ name: "Tea", category: "Beverages" },
{ name: "Coffee", category: "Beverages" },
{ name: "Ham", category: "Food" }
],
page: 1,
// a page of data contains two data items
pageSize: 2
});
于 2016-03-21T14:20:07.977 回答