EasyUI Forum
July 17, 2024, 02:40:45 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: Can Tooltips be used with DataGrid?  (Read 8764 times)
Swany
Newbie
*
Posts: 44


View Profile Email
« on: December 03, 2018, 01:52:50 PM »

Can Tooltips be used with DataGrid?
Logged
stworthy
Administrator
Hero Member
*****
Posts: 3581


View Profile Email
« Reply #1 on: December 03, 2018, 06:37:50 PM »

Yes, please refer to this code.
Code:
<eui-grid-column field="name" title="Name">
    <ng-template euiCellTemplate let-row>
        <div class="item">
            <span class="title" [euiTooltip]="getTooltipContent(row)">{{row.name}}</span>
        </div>
    </ng-template>
</eui-grid-column>
Logged
Swany
Newbie
*
Posts: 44


View Profile Email
« Reply #2 on: December 04, 2018, 09:14:30 AM »

Works perfect thanks.
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!