ParamQuery grid support forum

General Category => Help for ParamQuery Pro => Topic started by: omerix on April 19, 2014, 03:09:06 am

Title: Jqueryui Tooltip in cell
Post by: omerix on April 19, 2014, 03:09:06 am
Hello,

Not work:
Code: [Select]
$grid.on("pqgridload", function( event, ui ) {
$(".br").tooltip(
{ content: "Awesome title!" }
);
});

Page works, PQGrid in cell does not work.
Code: [Select]
<script>
$(document).ready(function () {
$(".br").tooltip({
content: function() {
return "<img src='"+$(this).attr('src')+"' style='max-width:740px;max-height:500px;'/>"
}
});
});
</script>

Thanks.
Title: Re: Jqueryui Tooltip in cell
Post by: paramvir on April 21, 2014, 09:00:15 am
cell tooltip should be added in pqgridrefresh instead of pqgridload.