This is a migrated thread and some comments may be shown as answers.

User-defined attributes

2 Answers 36 Views
TreeView
This is a migrated thread and some comments may be shown as answers.
Bernhard Rosenfelder
Top achievements
Rank 1
Bernhard Rosenfelder asked on 02 Aug 2012, 08:18 PM
hi kendo-community,

can someone tell whether it is possible to bind custom attributes to treeNodes per remote datasource.

best regards,

bernhard

2 Answers, 1 is accepted

Sort by
0
Alex Gyoshev
Telerik team
answered on 06 Aug 2012, 02:37 PM
Hello Bernhard,

This functionality is currently unsupported. You can serialize the attributes from the server and apply them manually through a handler of the dataBound event (which is available in the latest internal build).

Kind regards,
Alex Gyoshev
the Telerik team
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
0
Matt Done
Top achievements
Rank 1
answered on 24 Aug 2012, 01:35 AM
  I would also like to add custom attributes to the nodes of the tree view. Are you able to give us a quick code sample of how you would go about this using the dataBound event you described in your post. Thanks.

Matt.
Tags
TreeView
Asked by
Bernhard Rosenfelder
Top achievements
Rank 1
Answers by
Alex Gyoshev
Telerik team
Matt Done
Top achievements
Rank 1
Share this question
or