Hi,
Currently am displaying a tooltip in header using the below code. however i want to display a image inside tooltip.
{
field: 'country', title='country', headerTemplate: "<u class='uom fa fa-info-circle fa-lg' data-container='body' title='' data-toggle='tooltip' data-original-title='Golden Standard'></u>"
}
i.e., something like this. but when i try the below code, the html inside the 'data-original-title' is showing as plain text instead of rendering as html.
{
field: 'Country', title='Country', headerTemplate: "<u class='uom fa fa-info-circle fa-lg' data-container='body' title='' data-toggle='tooltip' data-original-title='<i class="fa fa-square" style="color:PaleGoldenRod"></i> Golden Standard'></u>"
}
In the DataBound event of a grid, am using below code to show tooltip.,
dataBound: function (e) {
$("[data-toggle='tooltip']").tooltip();
}
Please see the attached screenshot for refrence.
Thanks in advance.