EasyUI Forum

General Category => EasyUI for jQuery => Topic started by: mshaffer on December 11, 2016, 05:13:23 AM



Title: htooltip as feature of columns in datagrid
Post by: mshaffer 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},
]],