When I have both hiding and filtering features enabled filtering on a column throws an exception. This happens in IE9, Firefox and Chrome 23. Here's the stack from Chrome:
a.widget._generateExpressions (infragistics.ui.grid.filtering.js:19)(anonymous function) (jquery-ui-1.9.2.custom.js:431)a.widget._filterDataSource (infragistics.ui.grid.filtering.js:19)(anonymous function) (jquery-ui-1.9.2.custom.js:431)a.widget._filterInternal (infragistics.ui.grid.filtering.js:19)(anonymous function) (jquery-ui-1.9.2.custom.js:431)proxy (jquery-1.8.3.js:775)
Are there any known issues between filtering and hiding columns?
Hi,
Seems this has been fixed in the current releases ...
Hi ,
I am also facing the same issue posted by dirq, I tried to use the column filtering and column hiding option in the same grid, I am getting the error in the filtering.js. Please let us know how to solve this. I have used the code as below,
{ name: "Hiding", columnSettings: [ { columnKey: "RightsId", allowHiding: false, hidden: true }]
},
{ name: 'Filtering', type: 'local', columnSettings: [ // { columnKey: "RightsId", allowFiltering: false}, { columnKey: "ApplicationName",allowFiltering: true }]
columns: [ { headerText: "Object Id", key: "RightsId", width: "50px", dataType: "number" }, { headerText: "Application Name", key: "ApplicationName", width: "200px", dataType: "string" }]
Thanks in advance.
Hello guys,
If you have any other questions regarding the matter, please do not hesitate to contact us.
Hello,
Thank you - that does the trick!
Stanislav R
Hi Stanislav,
You can use this code:
$("#grid1").data("igGridFiltering")._editors[<columnIndex>].element.igEditor("option", "nullText", "Equals...");
Best regards,
Martin Pavlov
Infragistics, Inc.