瀏覽代碼

add tooltip for short column

trethaller 4 年之前
父節點
當前提交
96d147fe23
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1 0
      hide/comp/cdb/Table.hx

+ 1 - 0
hide/comp/cdb/Table.hx

@@ -143,6 +143,7 @@ class Table extends Component {
 			col.text(c.name);
 			col.addClass( "t_"+c.type.getName().substr(1).toLowerCase() );
 			col.addClass( "n_" + c.name );
+			col.attr("title", c.name);
 			col.toggleClass("hidden", !editor.isColumnVisible(c));
 			col.toggleClass("cat", editProps.categories != null);
 			if(editProps.categories != null)