Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
1135
Custom Remote Filtering on igGrid
posted

Hi All,

We are implementing remote filtering on our igGrid. Our grid has different types, such as bool, date, number, etc,

We have managed to get everything working (we send the filter criteria to our WCF REST service, do some processing, and return the final result set to the client (ASP.NET)), however for some reason dates (in format yyyy/MM/dd) do not want to work. The filter criteria sent to our WCF service is blank (see example from Fiddler, the "filter" querystring):

GET /Service1.svc/GetData?%24filter=&PageIndex=0&PageSize=10&pk=ID

When we do a filter for any other type, it works fine:

GET /Service1.svc/GetData?%24filter=indexof(Suburb%2C'Olif')+ge+0+and+&PageIndex=0&PageSize=10&pk=ID

When we do local filtering however it works fine, but we are working with a LOT of data and can't do local filtering, so we have to go remote.

Here is the declaration for our grid:

features: [
                            {
                                name: "Paging",                        
                        type: "remote",
                        pageSize: 10,
                        pageSizeUrlKey: "PageSize",             // name of the parameter for the page size 
                        pageIndexUrlKey: "PageIndex",           // name of the parameter for the page index
                        recordCountKey: "count",   // record count property on the return object
                               
                            },
                            {
                                name: "Filtering",
                        type: "remote"
 
                            },
                            {
                                name: "Sorting",
                        type: "remote"
                            }

What could be the issue?

  • 1135
    Verified Answer
    posted

    Hi All,

    Just to let you know, we upgraded to IgniteUI v13.2 today and the filtering issue has been solved. We can now retrieve the values from the POST to the server and handle them accordingly.

    Just FYI if there is anyone else that is also struggling with this.

    Thanks,