Kendo UI Grid binded to OData: how to get the request URL? -


i have kendo grid binded remote odata endpoint. how can capture request url sent remote endpoint in 1 of javascript events, datasource's onrequeststart ?

this gives me filter/sort objects

var filter = this.filter(); var sort = this.sort(); 

but want actual url, like

http://..serviceroot/table1?$filter=.... 

the easiest way via beforesend:

   transport: {      read: {         url: "http://demos.telerik.com/kendo-ui/service/northwind.svc/orders",         beforesend: function(e, request) {           console.log(request.url);         }      }    } 

Comments

Popular posts from this blog

javascript - jquery or ashx not working -

opencv - DataType<cv::detail::deriv_type>::depth what is it used for -

python 3.x - Mapping specific letters onto a list of words -