This is a migrated thread and some comments may be shown as answers.

odata v4 function

1 Answer 143 Views
Data Source
This is a migrated thread and some comments may be shown as answers.
Bill
Top achievements
Rank 2
Bill asked on 17 Apr 2015, 02:45 PM

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?

 

 

 

 

 

1 Answer, 1 is accepted

Sort by
0
Rosen
Telerik team
answered on 21 Apr 2015, 01:06 PM
Hello Bill,

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

Regards,
Rosen
Telerik
 
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
 
Tags
Data Source
Asked by
Bill
Top achievements
Rank 2
Answers by
Rosen
Telerik team
Share this question
or