fastadmin设置表格鼠标指上显示所有内容
{ field: 'question', title: __('Question'), operate: false, formatter : function(value, row, index, field){ return "<span style='display: block;overflow: hidden;text-overflow: ellipsis;white-space: nowrap;' title='" + row.question + "'>" + value + "</span>"; }, cellStyle : function(value, row, index, field){ return { css: { "white-space": "nowrap", "text-overflow": "ellipsis", "overflow": "hidden", "max-width":"150px" } }; } }
╰︶﹉⋛⋋⊱⋋๑๑⋌⊰⋌⋚﹉︶╯