EasyUI Forum
May 15, 2024, 06:50:37 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 on PropertyGrid  (Read 3823 times)
gib65
Newbie
*
Posts: 29


View Profile Email
« on: June 13, 2017, 03:24:54 PM »

Hello,

I am experimenting with EasyUI PropertyGrid. Is there a way to get a tooltip on each row. What I'm trying to do is have a way for the user see the full text in the cell. So if the cell displays: "Loss of flow from source...", I want the tooltip when it hovers over that cell to display "Loss of flow from source to the Rundown Butane Storage Vessels group."
Logged
qianet
Newbie
*
Posts: 9


View Profile Email
« Reply #1 on: June 13, 2017, 09:59:58 PM »

suggest:
use css solve it.

css:
.title{ width:300px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis;}

<div class="title" title="display text display text display text display text ">display text display text display text display text </div>
Logged
gib65
Newbie
*
Posts: 29


View Profile Email
« Reply #2 on: June 14, 2017, 09:36:18 AM »

Perfect! That's exactly what I need.
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!