EasyUI Forum
October 12, 2025, 11:29:47 AM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News:
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: Tooltip in DataGrid disappears on sorting  (Read 5129 times)
raghav94
Newbie
*
Posts: 9


View Profile
« on: July 08, 2017, 07:48:39 AM »

Hi,

I have a TreeGrid.
I have used tooltip for every cell which shows the cell text.
But once I sort the field, tooltip does not appear.
How to fix this?

Code:
$('td span.tree-title').tooltip({
            position: 'right',
            trackMouse: true,
            content:function(){
            var cont = $(this).text();
            return '<span style="color:#fff">' + cont + '</span>';
            } ,
            onShow: function(){
                $(this).tooltip('tip').css({
                    backgroundColor: '#666',
                    borderColor: '#666'
                });
            },
        });
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!