stringFunc

stringFunc describes array of dictionaries objects which listed all available filter functions and display values which will be shown in the filter menu for columns with type string. The default value is:

stringFunc = [
    { "func": "eq", "name": "Equal to" }, 
    { "func": "neq", "name": "Not equal to" }, 
    { "func": "con", "name": "Contains" }, 
    { "func": "notcon", "name": "Not contains" }, 
    { "func": "starts", "name": "Starts with" }, 
    { "func": "ends", "name": "Ends with" }, 
    { "func": "gt", "name": "Greater than" }, 
    { "func": "lt", "name": "Less than" }, 
    { "func": "gte", "name": "Greater than or equal" }, 
    { "func": "lte", "name": "Less than or equal" }, 
    { "func": "isnull", "name": "Is null" }, 
    { "func": "notnull", "name": "Is not null" }
]

If you want to reduce the number of items in the filter menu you can set a subset of the available options. For example if you want to have only equal to and contains options you can use following setting:

stringFunc = [
    { "func": "eq", "name": "Equal to" }, 
    { "func": "con", "name": "Contains" }
]

If you want to localize the values shown in the menu you can change the value in the name property:

stringFunc = [
    { "func": "eq", "name": "gelijk aan" }, 
    { "func": "con", "name": "bevat" }
]