Hi,
I am having some problems when refreshing my grid view. I have a refresh button that calls refresh() from the grid documentation. It seems to do nothing. Then I tried sync() and read() but nothing seems to be actually refreshing my view of the grid information. Only when I filter the columns by clicking the column header is the change visible. When I click the header again the change disappears. Are there any cache settings here that may be getting in my way? Any help would be appreciated...
I am having some problems when refreshing my grid view. I have a refresh button that calls refresh() from the grid documentation. It seems to do nothing. Then I tried sync() and read() but nothing seems to be actually refreshing my view of the grid information. Only when I filter the columns by clicking the column header is the change visible. When I click the header again the change disappears. Are there any cache settings here that may be getting in my way? Any help would be appreciated...
...
dataSource : {
// JSONP is required for cross-domain AJAX
dataType : "jsonp",
transport : {
read : baseURL + "Data;jsessionid=" + jsessionId + "?browserid=" + browserId + "&type=2&tool=fooBar",
cache: false,
contentType: "application/json; charset=utf-8",
//
// add additional parameters here...
//
parameterMap : function(options, type) {
options.cafe_dataplugin = "dispo_ticket_list";
options.cafe_fields = ticketColumns;
return kendo.data.transports["odata"].parameterMap(options, type);
}
},
...