I generate data for the grid using an HTML table to make sure search engines can see it.
My problem is that I cannot get filtering to work properly when I am setting autoGenerateColumns to false. Typing in the filtering fields does nothing (it doesn't filter the data, and just displays number of results at the end, which is always the same: the number of rows in the table). Filtering using the API gives the error "this._field is null" inside infragistics.ui.editors.js.
With autoGenerateColumns set to true, it works. I need to specify the columns myself however, since I am using column templates.
Feels like I'm just jumping from one problem to the next. :(
Now having filtering issues using the API. Post is here:
http://es.infragistics.com/community/forums/p/74624/377213.aspx#377213
Hello UIS 2 Developer 2,
Thank you for the update.
We are glad you are to move forward with your application.
If you have any questions, please do not hesitate to let us know.
Thank you, that did the trick.
I assumed I had the latest version since I downloaded it just last week. Guess a lot of development is going here right now. ;)
Hi UIS 2 Developer 2,
I can reproduce the issue you describe in NA for jQuery 12.1.1010. The issue is fixed in 12.1.2059.
Hope this helps,
Martin Pavlov
Infragistics, Inc.
I have tried setting the "type" to "local", but I doesn't seem to help.
I simplified the complete page to demonstrate the problem. Please have a look and let me know if I am doing anything wrong.
<!DOCTYPE html><html><head> <title>Test page</title> <script src="jquery-1.7.1.min.js" type="text/javascript"></script> <script src="jquery-ui-1.8.20.min.js" type="text/javascript"></script> <script src="infragistics.js" type="text/javascript"></script></head><body> <table id="gridFiltering"> <thead> <tr> <th>Country</th> </tr> </thead> <tbody> <tr><td>Germany</td></tr> <tr><td>USA</td></tr> <tr><td>France</td></tr> </tbody> </table> <script type="text/javascript"> $(function () { $("#gridFiltering").igGrid({ autoGenerateColumns: false, /* if set to true, sorting works but columns are duplicated */ columns: [ { headerText: "Country", key: "Country", dataType: "string" } ], features: [{ name: "Filtering", allowFiltering: true, caseSensitive: false, type: 'local' }] }); }); </script></body> </html>