This is a migrated thread and some comments may be shown as answers.

How to use custom operators?

1 Answer 14 Views
ExpressionEditor
This is a migrated thread and some comments may be shown as answers.
Jeffrey
Top achievements
Rank 1
Jeffrey asked on 10 Jul 2019, 06:46 PM

Hi guys,

I want to make ExpressionEditor supports custom operators, and use those operators to replace existing one. For example, I want to use "!=" instead of "<>" for "not equal", and use "&&", "||" accordingly. I read the documentation and know how to customize the nodes in the tree, but how about features related to parsing? How to let the parser know the custom operators we defined?

PS: I'm using the latest WPF controls.

1 Answer, 1 is accepted

Sort by
0
Ivan Petrov
Telerik team
answered on 11 Jul 2019, 02:46 PM
Hello Jeffrey,

Thank you for writing.

Currently RadExpressionEditor supports only custom functions. Replacing or adding operators is not possible with the current implementation. This, though, is a good idea and I have added a feature request for it. You can subscribe for status change alerts and/or add your vote to it by following this link - Customizing operators in RadExpressionEditor. 

Should you have further questions, do not hesitate to write back.

Regards,
Ivan Petrov
Progress Telerik
Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
Tags
ExpressionEditor
Asked by
Jeffrey
Top achievements
Rank 1
Answers by
Ivan Petrov
Telerik team
Share this question
or