How would I go about creating this query with the datasource?
http://services.odata.org/V3/Northwind/Northwind.svc/Customers()?$filter=Orders/any(o:substringof('alf',o/ShipName))&$expand=Orders
I currently don't see how I could get this to work with what is available. Thanks for the help in advance.
-Jon Ross
http://services.odata.org/V3/Northwind/Northwind.svc/Customers()?$filter=Orders/any(o:substringof('alf',o/ShipName))&$expand=Orders
I currently don't see how I could get this to work with what is available. Thanks for the help in advance.
-Jon Ross
5 Answers, 1 is accepted
0
Hello Jonathan,
Atanas Korchev
the Telerik team
Indeed Odata v3 queries are not currently supported by the Kendo DataSource.
Regards,Atanas Korchev
the Telerik team
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
0
Evgeny Vdovin
Top achievements
Rank 1
answered on 05 Sep 2012, 10:25 PM
any plans to support oData v3? If Yes then when?
Regards,
Evgeny Vdovin
Regards,
Evgeny Vdovin
0
Hi,
Atanas Korchev
the Telerik team
What kind of support for Odata v3 you would like to see?
Regards,Atanas Korchev
the Telerik team
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
0
Jonathan
Top achievements
Rank 1
answered on 10 Sep 2012, 01:10 PM
I would like the ability to use the any and all structures with the filters. I tried to see if I could add it by hand to your source but found that I would have to re-engineer the whole structure of filters in your datasource to do it. Being as that would be a major braking change to how your filter system works I think at least having the option to do a custom filter would be great.
i.e. something like this
or like this
i.e. something like this
filter: {
field:
"custom"
,
value:
"Orders/any(o:substringof('alf',o/ShipName))"
}
or like this
filter: {
type:
"custom"
,
field:
"Orders"
,
value:
"Orders/any(o:substringof('alf',o/ShipName))"
}
0
Hi Jonathan,
Atanas Korchev
the Telerik team
Thank you for the clarification. Indeed extending the data source filter operators sounds like a good addition. May I suggest you open a new user voice item in our feedback portal? Then other users would be able to vote for this feature.
Regards,Atanas Korchev
the Telerik team
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!