...
如果是静态数据,可直接通过以下客户端宏来进行规避:
ClientSide spreadsheetReport onRender
代码块 | ||
---|---|---|
| ||
function main(spreadsheetReport, isAjaxRefreshCallback) { var cell = spreadsheetReport.getCell("C5"); cell.firstChild.style.marginLeft = "0px"; cell = spreadsheetReport.getCell("C6"); cell.firstChild.style.marginLeft = "0px"; cell = spreadsheetReport.getCell("C7"); cell.firstChild.style.marginLeft = "0px"; cell = spreadsheetReport.getCell("C8"); cell.firstChild.style.marginLeft = "0px"; } |
如果是动态数据,需要结合以下服务端和客户宏来进行规避:如果是动态数据,需要结合以下服务端和客户端宏来进行规避:
ServerSide spreadsheetReport onBeforeOutput
...