Hi!
The TreeList's toolbar.template property is ignored, at least it doesn't behave like grid's toolbar.
The toolbar configuration is the same for the grid and the treelist:
toolbar: [
{
name:
'test'
,
template:
'<button ng-click="test()">Hi, this is the button template! {{1+3}}</button>'
}]
In the grid, the template works as expected, but in the treelist, the template is ignored, only a button with "test" label is shown.
For a demo, please look at this dojo.