I have a grid bound to a remote data source which displays a summary of data. I also have a detail grid which is used for adding additional data.
As new detail rows are added, the summary becomes out of sync with the detail, as it is based on a different data source. I'm happy with this, but I'm trying to add a button that will refresh the master/summary grid.
It should be pretty simple. I'm using HTML:
And javascript (abbreviated):
Clicking the refresh button just gives me:
Uncaught TypeError: Object [object Object] has no method 'refresh'
in Chrome's console
Where am I going wrong?
Thanks
As new detail rows are added, the summary becomes out of sync with the detail, as it is based on a different data source. I'm happy with this, but I'm trying to add a button that will refresh the master/summary grid.
It should be pretty simple. I'm using HTML:
<button id="refresh">Refresh Totals</button>var grid = $("#grid").kendoGrid({... });$('#refresh').click(function(){ grid.refresh();});Uncaught TypeError: Object [object Object] has no method 'refresh'
in Chrome's console
Where am I going wrong?
Thanks