Hello!
I've tried to put ToolTip into TreeView node. This is my note template:
<
script
id
=
"treeview-template"
type
=
"text/kendo-ui-template"
>
<
div
style
=
"width:500px"
>
<
span
class
=
"#: item.icon #"
style
=
"width:18px"
></
span
>
<
span
>#: item.name() #</
span
>
# if (item.description() != null) { #
<
span
class
=
"ico-tooltip fa fa-info-circle"
data-toggle
=
"tooltip"
data-placement
=
"bottom"
title
=
""
data-original-title
=
"#: item.description() #"
></
span
>
# } #
<
button
type
=
"button"
class
=
"btn btn-xs"
style
=
"height:16px;margin-left:5px"
>
<
i
class
=
"fa fa-lg fa-plus-square-o"
></
i
>
</
button
>
</
div
>
</
script
>
I also tried to use kendo-knockout library with code:
<
i
class
=
"ico-tooltip fa fa-info-circle"
data-bind
=
"kendoTooltip: { content: item.description() }"
></
i
>
Is it any posibility to put working Tooltip on TreeView node?
Is posibility to connect button on TreeView node to knockout function?
Thanks for any help