Add buttons to Bootstrap Treeview Node
<p>I've a bootstrap treeview which has two levels. And I need to add different buttons to different nodes in the treeview.</p>

<p>here is my structure</p>

<pre><code>var tree = [
  {
    text: "Parent 1",
    nodes: [
      {
        text: "Child 1",
        nodes: [
          {
            text: "Grandchild 1"
          },
          {
            text: "Grandchild 2"
          }
        ]
      },
      {
        text: "Child 2"
      }
    ]
  }

];
</code></pre>

<p>And I need to display a button on each Child node (here Child 1 &amp; Child 2) as "Upload" and need to add two buttons called "Delete" &amp; "Download" in Grandchild levels. </p>

<p>Is there any thing as node templates in bootstrap treeview like Kendo treeview? </p>