有哪位大神知道怎样用js动态设置bootstrap table的列样式cellStyle
1个回答
展开全部
function getTable() {
var hand1 = document.getElementById('hand1');
hand1.innerHTML = "";
var hot1 = new Handsontable(hand1, {
//colWidths: [100, 93, 93, 93, 93],
colHeaders: true,
fixedColumnsLeft: 7,
maxRows: 1,
//contextMenu: ['remove_row'],
outsideClickDeselects: false
});
}
var hand1 = document.getElementById('hand1');
hand1.innerHTML = "";
var hot1 = new Handsontable(hand1, {
//colWidths: [100, 93, 93, 93, 93],
colHeaders: true,
fixedColumnsLeft: 7,
maxRows: 1,
//contextMenu: ['remove_row'],
outsideClickDeselects: false
});
}
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询