odata v4 function

2 posts, 0 answers
  1. Bill
    Bill avatar
    31 posts
    Member since:
    Mar 2013

    Posted 17 Apr 2015 Link to this post

    Does the Kendo Datasource and Grid support OData v4 functions?  If so, I'm looking for an example of a kendo grid/datasource that's connected to an OData v4 function, particularly an unbound function with two or more parameters.  I'm curious to know if I could map the row filter values to the parameters in the URL that OData functions require.


    The term function is generic so just for clarity, the function I mean are the ones described here: http://www.asp.net/web-api/overview/odata-support-in-aspnet-web-api/odata-v4/odata-actions-and-functions


    My use case is simple. I have an OData function that calls a stored procedure for the purpose of ad-hoc reporting. It works when I call it directly from the browser with http://localhost:333/odata/GetMyReport(parameter1='something', parameter2='something').  The problem I'd like to solve, is to get the grid with a row filter, i.e., "filterable: { mode: 'row' }", to generate the correct URL by preventing it from generating "?filter=..." and instead modifying the URL path by replacing the parameter values with what was entered in the filters.


    Any ideas?






  2. Rosen
    Rosen avatar
    3247 posts

    Posted 21 Apr 2015 Link to this post

    Hello Bill,

    I'm afraid that this OData functionality is not currently supported.

    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
Back to Top