1
我在得到從網格中的數據作爲JSON對象KendoUI網格的數據源JSON
$('#AttachmentsGrid').data('kendoGrid').dataSource.view().toJSON()
TypeError: $("#AttachmentsGrid").data("kendoGrid").dataSource.view().toJSON is not a function
我在得到從網格中的數據作爲JSON對象KendoUI網格的數據源JSON
$('#AttachmentsGrid').data('kendoGrid').dataSource.view().toJSON()
TypeError: $("#AttachmentsGrid").data("kendoGrid").dataSource.view().toJSON is not a function
使用
JSON.stringify($('#AttachmentsGrid').data('kendoGrid').dataSource.view())
你的語法看起來很好有一個錯誤。你能添加更多的代碼嗎? – davehale23