Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
20
igTemplating engine - possible to use Javascript expressions?
posted

Currently trying out the igTemplating engine, and I wondered if it is possible to use javascript expressions on property values, e.g. ${myProperty.replace('a', 'b')}.

This was a nice feature in the jQuery template engine ...

Parents
No Data
Reply
  • 5105
    Verified Answer
    Offline posted

    Hi there,

    Unfortunatelly this has to be performed externally on the data, because the Infragistics templating engine does not support such functional evaluation inside the substitution tokens. At this point the functional scope of the substitution tokens is data extraction from JSON array/object, however it does not cover function evaluation.

    Thank you for using the Infragistics forums!

Children
No Data