Question

I am using angular-kendo. Is there any option to set the id of the generated element.

<div  ng-controller="HomeCtrl" kendo-tree-view k-options="subjects"></div>

Becomes an ul but I would like to set the id of this ul in some way.

Was it helpful?

Solution

You cannot set the "id" of the generated ul element. However you can set the id of the div itself:

<div ng-controller="HomeCtrl" id="treeview" kendo-tree-view k-options="subjects"></div>

Here is a live demo: http://jsbin.com/ezOPUta/2/edit

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top