$("#grid").data("kendoGrid").dataSource.data([]); //清空数据源 $("#grid").data("kendoGrid").dataSource.data([{ name: "aaaa //Doe", age: 30 },{ name: "aaaa Doe", age: 23 }]);//绑定数据源 $("#grid").data("kendoGrid").dataSourceadd({ name: "John Doe", age: 33});//增加数据源
转载于:https://www.cnblogs.com/m110/p/9131619.html