Comment faire pour obtenir l'affichage des données de KendoGrid au format json?

J'ai un kendoGrid et je voudrais obtenir le JSON après filtrage et de tri comment puis-je y parvenir?

quelque chose comme ce qui suit,

var grid = $("#grid").data("kendoGrid");

alert(grid.dataSource.data.json); //I could dig through grid.dataSource.data and I see a function ( .json doen't exist I put it there so you know what i want to achieve )

Merci de toute aide est grandement appréciée!

  • Un violon pourrait l'aider, mais est-ce à vous obtenir n'importe où? console.log( $("#grid").data("kendoGrid").dataSource.options.data );
InformationsquelleAutor | 2012-04-25