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

DataSource Server side filter does not work with oData

0 Answers 86 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Shankar
Top achievements
Rank 1
Shankar asked on 02 Aug 2012, 03:12 PM
Hi All,

I am using remote datasource and binding this by using Odata service.

Example for Odata service: 
_WebServiceAddress + "dataapi/ProductGroupProducts?$orderby=Name&$filter=ProductGroupId eq guid'" + tSelectedId + "'"

and i am trying to filter datasource server side by using datasource filter option. 
Example: 

   $("#DivProductGroupDetailsTable").data("kendoGrid").dataSource.filter({
            logic: "or",
            filters: [
                    { field: "Name", operator: "contains", value: pSearchValue },
                    { field: "DataMatchKey", operator: "contains", value: pSearchValue }
                ]
        });

but i am getting following error:
":"Query parameter '$filter' is specified, but it should be specified exactly once."

Please advise.

Thank you in advance.

regards,
Shankar

No answers yet. Maybe you can help?

Tags
Grid
Asked by
Shankar
Top achievements
Rank 1
Share this question
or