How to use custom operators?

2 posts, 0 answers
  1. Jeffrey
    Jeffrey avatar
    1 posts
    Member since:
    Apr 2012

    Posted 10 Jul Link to this post

    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.

  2. Ivan Petrov
    Admin
    Ivan Petrov avatar
    713 posts

    Posted 11 Jul Link to this post

    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.
Back to Top