Javascript 使用alasql的WrapText
如何使用alasql使用wraptext提取电子表格,我认为这是可行的:Javascript 使用alasql的WrapText,javascript,angularjs,alasql,Javascript,Angularjs,Alasql,如何使用alasql使用wraptext提取电子表格,我认为这是可行的: var mystyle = { headers: true, columns: [{ columnid: 'Description', width: 50, wraptext: true }], rows: { 1: { style: { Font: {
var mystyle = {
headers: true,
columns: [{
columnid: 'Description',
width: 50,
wraptext: true
}],
rows: {
1: {
style: {
Font: {
Color: "#FF0077"
}
}
}
},
cells: {
1: {
1: {
style: {
Font: {
Color: "#00FFFF"
}
}
}
}
}
};
$scope.exportMyData = function() {
alasql('SELECT * INTO XLSXML("john.xls",?) FROM ?', [mystyle, $scope.gridOptions.data]);
}
你找到解决办法了吗?你找到解决办法了吗?