Hi,
I'm using Kendo DataSource with templates.But also I've to using Kendo.Tooltip with this Itemtemplate.
I'm wondering if i have any chance to get data without givin a div or any html tag as a data attirbutes from my ItemTemplate to myTooltip template?
Normally you can set data tag with any html tag like this
<div class="col1" data-HistoryType="#:HistoryType#"></div>
and reach data in tooltip like #=target.data('HistoryType')#
But my problem is a have many data to need to pass tooltip like that.
Here is my code example,
//I'm reach the model data using like #:HistoryType# etc.<script type="text/x-kendo-template" id="newsfeedsItemTemplate"> <li id="items"> <div class="col1"> <div class="cont"> <div class="cont-col1"> <div class="label label-sm #:IconColor#"> <i class="#:FontAwesomeIconName#"></i> </div> </div> <div class="cont-col2"> <div class="desc"> #:shortenText(Description,49)# </div> </div> </div> </div> </li></script><script type="text/x-kendo-template" id="newsFeedsToolTipTemplate"> //I want to reach here model data I didnt use in Itemtemplate like ObjectName <div>#:ObjectName#</div></script>