Hello,
I want the tooltip to remain open when trying to click on the content of tooltip. Below is my code.
---Grid
@(Html.Kendo().Grid<AgeInformation>()
.Name("AgeInformationGrid")
.Columns(columns =>
{
columns.Bound(p => p.FundAge).Title("Agency").ClientTemplate("#=FundAge.FedAgeDesc#").Sortable(false).Width(175).HeaderHtmlAttributes(new { @class = "FundAgeClass" });
})
.ToolBar(toolbar => toolbar.Create())
.Editable(editable => editable.Mode(GridEditMode.InLine))
.Pageable()
.Sortable()
.Scrollable()
.HtmlAttributes(new { style = "height:500px;" })
.DataSource(dataSource => dataSource
.Ajax()
.AutoSync(false)
.Batch(false)
.PageSize(20)
.ServerOperation(false)
.Events(events => events.Error("errorHandler"))
.Events(events => events.RequestEnd("onAgeInformationRequestEnd"))
.Model(model => {
model.Id(p => p.AgeInformationId);
model.Field(p => p.AgeInformationId).Editable(false);
model.Field(p => p.FundAge).DefaultValue(new FedAgency());
})
.Create(update => update.Action("AddAgeInformation", "Coversheet").Type(HttpVerbs.Post))
.Read(read => read.Action("GetAgeInformation", "Coversheet").Type(HttpVerbs.Get))
.Update(update => update.Action("EditAgeInformation", "Coversheet").Type(HttpVerbs.Post))
.Destroy(update => update.Action("DeleteAgeInformation", "Coversheet").Type(HttpVerbs.Post))
)
//.Events(events => events.Edit("onAgeInformationEdit"))
)
function ToolTipsForAgency() {
$(".FundAgeClass").append(" <i class='far fa-question-circle'></i>");
$(".FundAgeClass").attr("data-html", "true");$(".k-dropdown, .FundAgeClass").find('i').attr("title", "More information can be found on this link <a href='https://google.com' title='test add link'>link on content</a>");
}
Any help is appreciated