字段过长容易导致 BootStrapTable.JS 实现的 Table 文字自动换行。
The width of column. If not defined, the width will auto expand to fit its contents. Also you can add '%' to your number and the bootstrapTable will use the percentage unit, otherwise, you can add or no the 'px' to your nu
通过 width 【data-width 】 属性实现行宽的自动扩展,此处扩展行宽不一定实现指定宽度,【Number {Pixels or Percentage}】。
但均宽都实现了不换行自适应。
代码示例
{ field: 'memberName', title: '会员', align: 'center', width:200 },