or
$(
"#Grid").data("kendoGrid").tbody to find the elment in the grid where I want to display the validation error as a tooltip
295 iframe = $(
"<iframe />"
, { src:
'javascript:""'
, frameBorder:
"0"
})
296 .css(
"display"
,
""
)
297 .addClass(
"k-content"
)
298 .insertBefore(textarea)[0];
299
300 wnd = iframe.contentWindow || iframe;
301 doc = wnd.document || iframe.contentDocument;
<
script
>document.domain=document.domain;</
script
>
<
script
type
=
"text/x-kendo-template"
id
=
"template"
>
<
div
id
=
"details-container"
>
<
h2
>#= Title #</
h3
><
br
/>
<
h3
><
span
>Task type: </
span
>#= TaskType #</
h3
>
<
h3
><
span
>Added by: </
span
><
strong
> #= AddedByUserName # </
strong
>
<
time
>#= kendo.toString(AddedOn, 'yyyy-MM-dd hh:mm') #</
time
></
h3
>
#= TaskText # <
br
/>
<
h3
><
span
>Assigned to: </
span
><
strong
>#= AssignedToListUserNames # </
strong
></
h3
>
</
div
>
</
script
>