Hi,
I have a mvc grid binding to data table.
On web page, I have a dropdownlist, when user select different item, I make a ajax call which returns a different datatable with different columns.
On ajax success, I do
$('#GridName').data('kendoGrid').dataSource.data(data);
$('#GridName').data('kendoGrid').refresh();
Which normally work if grid is binding to a model, but not this time for dynamic binding
I have a mvc grid binding to data table.
On web page, I have a dropdownlist, when user select different item, I make a ajax call which returns a different datatable with different columns.
On ajax success, I do
$('#GridName').data('kendoGrid').dataSource.data(data);
$('#GridName').data('kendoGrid').refresh();
Which normally work if grid is binding to a model, but not this time for dynamic binding