EasyUI Forum
September 14, 2025, 09:41:22 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: htooltip as feature of columns in datagrid  (Read 5517 times)
mshaffer
Newbie
*
Posts: 21


View Profile
« on: December 11, 2016, 05:13:23 AM »

Hi,

I want to have tooltips on the column headers for datagrid...

I found how to manually add tooltips within a row

http://www.jeasyui.com/forum/index.php?topic=1689.0
http://www.jeasyui.com/forum/index.php?topic=1936.0

However, that is not what I want/need for adding to the header.

I would propose a new attribute, and an extension of the built in functionality.

Something like (htooltip):
Code:
columns:[[
{halign:'center',htooltip:'my tool tip',field:'id',title:'ID',align:'center',width:50,sortable:false},
{halign:'center',field:'status',title:'Status',align:'center',sortable:false},
{halign:'center',field:'created',title:'Created',width:90,align:'center',sortable:false},
{halign:'center',field:'name',title:'Name',width:90,sortable:false},
{halign:'center',field:'project',title:'Project',width:90,sortable:false},
{halign:'center',field:'parent',title:'Parent',sortable:false},
{halign:'center',field:'versions',title:'Versions',align:'center',sortable:false},
{halign:'center',field:'reported',title:'Report Generated',width:90,align:'center',sortable:false},
]],

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!