ECie
ECie

Reputation: 1487

Kendo Grid changing datasource on button click on mvc wrapper

Is it possible to change a kendo datasource and change the whole grid content in the same partial view?? Please any idea about it?

Upvotes: 0

Views: 907

Answers (1)

Alberto
Alberto

Reputation: 1863

Try this:

$("#yourButtonId").click(function() {
  $("#yourChartId").data("kendoChart").dataSource.read(yourNewDataSourceReader);
});

Hope this helps, have a nice day,

Alberto

Upvotes: 2

Related Questions