Currently I have a treeview populated from a datasource that has additional fields. I am using a filter to show checkboxes on the child nodes only (not the top level node). One of those extra fields is called loss. If the loss value is greater than zero I would like to change the text color of the node to red.
My current template is "# if(!item.items){# <input type='checkbox' value='true' />#}#"
How would I do this?
Thanks
Jason