5 Answers, 1 is accepted
Hello Fernando,
You could explicitly define which options to be rendered in each type of column filter present in the Grid. Here you could find a StackBlitz sample demonstrating that. It includes the following definitions for string and numeric filters:
filterableConfig: {
extra: false,
operators: {
string: {
startswith: "Starts with",
eq: "Is equal to",
neq: "Is not equal to"
},
number: {
lt: "Is less than",
eq: "Is equal to",
gt: "Is greater than"
}
}
}
Regards,
Veselin Tsvetanov
Progress Telerik
Hi Fernando,
May I ask you to send a StackBlitz sample demonstrating how you have used the filterable-cell-operator and filterable-cell-suggestion-operator options that are no longer configurable? You could use the already discussed sample as a starting point.
Regards,
Veselin Tsvetanov
Progress Telerik
Hi Fernando,
Thank you for the updated sample.
You should be able to keep the operator and suggestion-operator configuration by changing the filterable.mode to row. Those will be available only for the row mode of the Grid filter:
filterableConfig: {
mode: "row",
extra: false,
operators: {
string: {
startswith: "Starts with",
eq: "Is equal to",
neq: "Is not equal to",
contains: "Contains"
},
number: {
lt: "Is less than",
eq: "Is equal to",
gt: "Is greater than"
}
}
Here you could find a modified version of the sample discussed implementing the above.
Regards,
Veselin Tsvetanov
Progress Telerik