1

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.

blurfus
  • 13,485
  • 8
  • 55
  • 61
pethel
  • 5,397
  • 12
  • 55
  • 86

1 Answers1

0

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

Atanas Korchev
  • 30,562
  • 8
  • 59
  • 93