if you look at this dojo (http://dojo.telerik.com/oSOloLuR) the attributes work for kendoGrid.  If you change to a kendoTreeList, the conditional attributes do not work.  Is there a different way to change the attribute?  I tried in the template, but can't set the background-color style in the temple.
Code from dojo with kendoGrid changed to kendoTreeList:
<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <title>Kendo UI Snippet</title>
    <link rel="stylesheet" href="http://cdn.kendostatic.com/2014.3.1411/styles/kendo.common.min.css">
    <link rel="stylesheet" href="http://cdn.kendostatic.com/2014.3.1411/styles/kendo.rtl.min.css">
    <link rel="stylesheet" href="http://cdn.kendostatic.com/2014.3.1411/styles/kendo.default.min.css">
    <link rel="stylesheet" href="http://cdn.kendostatic.com/2014.3.1411/styles/kendo.dataviz.min.css">
    <link rel="stylesheet" href="http://cdn.kendostatic.com/2014.3.1411/styles/kendo.dataviz.default.min.css">
    <link rel="stylesheet" href="http://cdn.kendostatic.com/2014.3.1411/styles/kendo.mobile.all.min.css">
    <script src="http://code.jquery.com/jquery-1.9.1.min.js"></script>
    <script src="http://cdn.kendostatic.com/2014.3.1411/js/kendo.all.min.js"></script>
<style>
  .red {  
	background-color: red
  }
    .green {  
	background-color: green
  }
</style>
</head>
<body>  
<div id="grid"></div>
<script>  
var grid = $("#grid").kendoTreeList({
  columns: [ 
    {    
	field: "name",    
	title: "Name",    
	attributes: { "class": "# if(data.name === 'Jane Doe') { # red # } else { # green # } #" }
    },
            {
    field: "title",
    title: "Title"
    }
   ],
  sortable: true,
  dataSource: [ { name: "Jane Doe", title: "Dr. Dr." }, { name: "John Doe", title: "Senior Citizen" }]
}).data("kendoTreeList");    
</script>
</body>
</html>