How can I specify a filter expression in the GridFiltering view model on the server?
We are using Infragistics.Web.Mvc 3.11.2.1023 MVC3.
In the server-based GridFiltering model I can specify ColumnKey and FilterCondition ("StartsWith", …).
But how do I set the filter expression (string)?
Thanks for your help
Heiko and Richard
Hello Htobias,
If you have more questions regarding this case feel free to contact me. I will keep this case open for another three days while I am waiting for your response. If at that time you haven't responded, I will close it. Please note that closed cases may be reopened within thirty days of closure.
Thank you for contacting Infragistics.
I am following up to check if you have been able to resolve your issue. If you need any further assistance or if you have additional questions contact me again.
Your case might be tested with client side implementation for each of the igGrid features (sorting, paging and filtering). In the incorrect behavior still persists in order to proceed further with testing your scenario I will need a sample from your project.
Please let me know if client side implementation resolves your issue. Don’t hesitate to contact me if new questions for this case arise.
Hello Dimka,
I changed filtering to use javascript in browser by$(".selector").igGridFiltering("filter', ([{fieldName: filterColumn, expr: expr, cond: condition}]));as proposed by Nikolay above and changed maintainance of iggrid state using cookies as described in http://ko.infragistics.com/community/forums/t/75421.aspx
This browser javascript filtering approach does not work together with server side settings of iggrid page index and sort order, the list is totally scrambled.If I migrate iggrid sorting and paging to browser javascript too, will that work correct together with javascript filtering?
Kind regardsHeiko and Richard
I am still following up your case. If you have more questions or concerns don’t hesitate to contact me again.