I'm looking for a way to clear my kendo grid which is using remote odata service. I know that I can call dataSource.data([]) when I'm using local data (i.e. setting dataSource.data config property), but I can't understand how to do the same thing using remote data (i.e. using data.transport). Any suggestions?
The only way I've found is to conditionally call options.success({empty odata response object}) in your transport callback. But the problem is that such empty object contains @odata.context property which is dynamically generated on the service side and I'm not sure where it is used by kendo or it is'nt.