How to give multiples data in Kendo Treeview template

i am new to kendo UI i want to add id for kendo tree view elements with help of template. Here

$("#tree-view").kendoTreeView({
    loadOnDemand:false,
    dataSource: LOB,
    dragAndDrop:true,
    dataTextField: ["Name","NAME","Name"],
    template:"<span id='#=item.Id#' >#=item.Name#</span> " ,

it return only the “Name” id’s. it was unable to give “NAME” dataTextfield id’s.could anyone help me out.

Thank you.

Answer

Here is a dojo page where a similar scenario is behaving correctly.

Leave a Reply

Your email address will not be published. Required fields are marked *