I’m configuring a tree grid and using data generated by a service that can not tolerate the _=1582749028718
that jQuery ajax calls appends to prevent IE from caching. I added the cache:false
to my source, but it continues to be appended.
My code…
// --------------------------------------
var dataDefinition =
{
dataType: "json",
dataFields: SCL.dataColumns,
hierarchy: {
root: "children"
},
timeout: 10000,
root: "SCL",
url: "http://localhost:8080/pooka/scl/data.json",
cache: false,
id: "id"
};
// --------------------------------------
var dataAdapter = new $.jqx.dataAdapter(dataDefinition, {
loadComplete: function(){
}
});
// --------------------------------------
$("#scl-grid").jqxTreeGrid({
source: dataAdapter,
pageable: true,
pagerMode: 'advanced',
filterable: true,
filterMode: 'simple',
sortable: true,
altRows: true,
columnsResize: true,
ready: function(){
$("#scl-grid").jqxTreeGrid('expandRow', '111100001');
$("#scl-grid").jqxTreeGrid('expandRow', '111100007');
},
columns: SCL.tableColumns,
columnGroups: SCL.groupColumns
});
// --------------------------------------
Where can I set cache to false to stop the appended parameter?