【发布时间】:2020-05-30 16:12:49
【问题描述】:
var table = new Tabulator("#Mytable",
{
layout:"fitColumns",
columns: [
{ title: "Name",formatter:html, variableHeight:true},
{ title: "Ingredients in1 L" ,formatter:html, variableHeight:true},
{ title: "Type of solution",formatter:html, variableHeight:true},
{ title: "pH",formatter:html, variableHeight:true},//"html" }
{ title: "Normal osmolarity (240‐340 mOsm/L)",formatter:htmlWrapFormatter, variableHeight:true},//"html" }
]
});
在 column[] 内部有什么方法可以在不指定列名的情况下应用相同的属性属性。
【问题讨论】: