Hi,
I use yiiGridView javascript function to automatically update a gridview with contacts for every 4 seconds (using setInterval).
When the mouse is over one of the “view”, “edit” or “delete” buttons, there is always a tooltip that shows up (I’m using yii bootstrap extension to have a better graphic design for the tooltips). However, when the ajax request updates the gridview, the tooltip disappears and never shows again in google chrome, unless I move the mouse again. In firefox and IE, the tooltip hides but then it automatically shows up again. Is there any function I can call in order to force the tooltip that was displaying to display again if the mouse continues in the same position as before? I guess I would have to call such function in the complete function of yiiGridView right? Can anyone please help me?
Here is the JS code that I use to automatically update the grid view:
setInterval(function(){
$('#contact-grid').yiiGridView('update', {
data: $(this).serialize(),
complete: function(jqXHR, status) {
}
});
},4000)
Thank you very much.