EasyUI Forum
May 08, 2024, 02:32:07 PM *
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 for buttons in datagrid pager  (Read 4655 times)
gordis gmbh
Full Member
***
Posts: 103


View Profile Email
« on: June 29, 2016, 09:07:26 AM »

I have not much place to show button-text in datagrid's pager. therefore i use only icons for the buttons.

Given that the buttons for add, save and cancel-edit are created as here: http://jsfiddle.net/tk19zpd0/

How can I add a tooltip which would appear when the mouse is placed over these buttons (hover)?

 
Logged
jarry
Administrator
Hero Member
*****
Posts: 2262


View Profile Email
« Reply #1 on: June 29, 2016, 05:51:41 PM »

Please try this:

http://jsfiddle.net/tk19zpd0/1/
Logged
gordis gmbh
Full Member
***
Posts: 103


View Profile Email
« Reply #2 on: June 30, 2016, 01:14:48 AM »

Sorry for not mentioning that the buttons are created dynamically in Javascript not using HTML's anchor tag.

Given that the buttons for add, save and cancel-edit are created as here: http://jsfiddle.net/tk19zpd0/

How can I add a tooltip which would appear when the mouse is placed over these buttons (hover)?
Logged
jarry
Administrator
Hero Member
*****
Posts: 2262


View Profile Email
« Reply #3 on: June 30, 2016, 07:17:44 PM »

Please look at this updated example http://jsfiddle.net/tk19zpd0/2/
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!