title: kendo treelist expand event
body: <p>In my Kendo UI treelist, I'd like to capture the currently-expanded row in the <code>expand</code> event, then check if its children rows are leaf nodes.
  If they are leaf nodes, I'd like to remove the <code>font-weight: bold;</code> style attribute.</p>
  
  <p>Here is a snippet showing the <code>treeOptions</code> object. At this <code>expand</code> event, it's easy to know that there are children nodes, but how can I tell if those children nodes has have children or not ? i.e. are they leaf nodes ?</p>
  
  <p><div class="snippet" data-lang="js" data-hide="false">
  <div class="snippet-code">
  <pre class="snippet-code-js lang-js prettyprint-override"><code> var treeOptions = {
                  dataSource: ds,
                  columns: colDefs,
                  selectable: true,                   
                  height: 320,
                  change: function (e) {                    
                      var selectedRow = this.select();
                      var row = this.dataItem(selectedRow);                    
                  },
                  expand: function (e) {
                    var row = e.model;
                    var hasChildren = row.hasChildren;
                    var uid = row.uid;
                  }
              };</code></pre>
  </div>
  </div>
  </p>
  
  <p>And here is the Kendo API doc I'm reading through.</p>
  
  <p>thanks in advance,
  Bob</p>