dynamic queries for oData endpoint in javascript

2.2k views Asked by At

Ok, the title is a bit of a mouthful, but it states what I'm looking for. I have an oData endpoint, and I'm interested in seeing if there are any projects out there (preferably open source, maybe based on datajs?) that let me point to the end point, and it gives me a grid, paging, and my end users the ability to do dynamic queries (as in, adding new query parameters and refreshing the grid).

Figure it's worth a shot to see if anyone else has been down this road before I go down it myself.

4

There are 4 answers

2
Acos Rodriguez On

Unfortunately, the datajs library only works on IE, if you are planning to implement a mobile device app, it wont work. I had this problem with a prototype for iOS+SAP app

Edit: This might have been the case in 2010. Currently (2013/Q1) it just works with all browsers.

0
Peter Aron Zentai On

Don't know if it's still an actual question, but give a shot to JayData. This is a crossplatform data library, that supports oData and language natural or programmatic querying. Also it has some example on how to use it with jqGrid.

0
Sean Thoman On

There is an OData javascript library (among other OData libraries) available here for download: http://www.odata.org/developers/odata-sdk

Its not an actual explorer, but there is alot of source js to work with Odata there.

0
Ting On

Breeze is another open source library that performs dynamic queries in JavaScript for OData and Web API and is in active development: http://www.breezejs.com