We have a column header that looks like this:
<
telerik:GridTemplateComlumn
DataField
=
"Venues"
HeaderText
=
"Venue"
>
I would like to add a tooltip to this column header but have been having a hard time figuring out a way to do this in JavaScript.
I have tried using the following scripts:
document.querySelectorAll(
"[value=Venue]"
).setAttribute(
'title'
,
'this is a tooltip'
);
$(
"[value=Venue"
]).prop(
'title'
,
'this is a tooltip'
);
$(
"[HeaderText=Venue"
).prop(
'title'
,
'this is a tooltip'
);
I understand that telerik has findControl() and findElement() to help with element selection, but haven't had too much luck with those either.
Does anyone know a way that I can select this specific column header with JavaScript and apply a tooltip (title)?