Why DropDown button doesn't work in tree view?
I need to create a dropdown button like this in each line of a tree view.
I created a button in form view like this https://i.imgur.com/ku588Fv.png and the code to this is:
<button class="btn btn-secondary dropdown-toggle" type="button" id="dropdownMenuButton" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
<div class="dropdown-menu" aria-labelledby="dropdownMenuButton">
<a class="dropdown-item" href="#">Action</a>
<a class="dropdown-item" href="#">Another action</a>
<a class="dropdown-item" href="#">Something else here</a>
But this doesn't work in tree view, inside <tree> </tree>, just inside <form></form>
Does anyone knows why is that, and how can i create my dropdown button in tree view?