Thread ID: |
Created: |
Updated: |
Platform: |
Replies: |
146633 | Apr 4,2018 08:41 AM UTC | Aug 14,2019 03:53 AM UTC | JavaScript - EJ 2 | 9 |
![]() |
Tags: DataManager |
<script>
function onLoad(args) {
this.model.dataSource.adaptor = new customadaptor();//extend the adaptor
}
var customadaptor = new ej.ODataV4Adaptor().extend({
processQuery: function (dm, query, hierarchyFilters) { // processing the query
var query = ej.ODataAdaptor.prototype.processQuery(dm, query);
var str=query.url.replace("guid'", "");
str=str.replace("'", "");
return {
type: "GET",
url: str,
ejPvtData: this.pvt
};
},
});
</script>
|
This post will be permanently deleted. Are you sure you want to continue?
Sorry, An error occured while processing your request. Please try again later.
This page will automatically be redirected to the sign-in page in 10 seconds.