本文主要是介绍bootstrapTable列内容过长用省略号显示,希望对大家解决编程问题提供一定的参考价值,需要的开发者们随着小编来一起学习吧!
{field: 'countryOverview',title: '简介',formatter:function (value, row, index,field) {return "<span style='display: block;overflow: hidden;text-overflow: ellipsis;white-space: nowrap;' title="+value+">"+value+"</span>"},cellStyle:function (value, row, index,field) {return {css:{"min-width":"150px","white-space":"nowrap","text-overflow":"ellipsis","overflow":"hidden","max-width":"200px",}}}
},
这篇关于bootstrapTable列内容过长用省略号显示的文章就介绍到这儿,希望我们推荐的文章对编程师们有所帮助!