0
我想在特定列和行中添加边框,可以在其中添加边框。 这是我的代码,请检查它。我没有得到任何选项来添加边框。如何使用ALASQL(AngularJS)为Excel中的特定列和行设置边框
columns: [
{columnid:'email'},
{columnid:'dob', title: 'Birthday', width:300},
{columnid:'name'},
{
columnid:'name',
title: 'Number of letters in name',
width: '300px',
cell: {
value: function(value){return value.length}
}
},
],
row: {
style: function(sheet,row,rowidx){
return 'background:'+(rowidx%2?'red':'yellow');
}
},
rows: {
4:{cell:{style:'background:blue'}}
},
cells: {
2:{
2:{
style: 'font-size:45px;background:pink',
value: function(value){return value.substr(1,3);}
}
}
}
};