Premium forums

Can you perform math inside a template?

  • Mike
    Mike avatar

    20 Apr 2012 (Link to this post)

    // Disregard, I figured it out...//

    I have a template that is being loaded via a JSON file.  My JSON file contains data I would like to use to set CSS parameters in the rendered html.  

    Is it possible to have a function inside the template that performs a calculation on the JSON data and them uses the result to modify a CSS parameter?

Read FAQ or see Kendo UI in action!

Launch Demos