Can you please help us find out how to remove or add conditions in the filter row dropdown? For example, we don't want "Starts With" and "Ends with" filter conditions to appear in the whole grid.
Hi, is there any way to achieve the same on the advance filtering mode, the CSS icon class does not get applied on the select element options?, I really need to remove the 'Contains' and 'Does not contain' conditions.
Thanks in advanced.
Christoffel le Roux
I have a grid called 'GridTable' and a Column with ID 'PageSize'
I am using ADVANCED filtering and trying to remove the starts with item
Cant get any result with
$("#GridTable_dd_PageSize").find(".ui-iggrid-filtericonstartswith").closest("li").remove();
Cann you advise.
Thanks
Ecatenate
Hi Georgi,
Currently we do not provide any out of the box way to selectively remove/add filter drop-down conditions, but with some small amount of code you can achieve that. For instance, to remove the StartsWith menu item, from a column with an ID of "Name" you can do something like that:
$("#grid1_dd_Name").find(".ui-iggrid-filtericonstartswith").closest("li").remove();
notice how the CSS class selector ends with the filter condition name, so you can just replace "startswith" with "endswith", "equals", "doesnotequal", etc.
Let me know if it helps. Thanks,
Angel