How can i do custom function xlsxReplace?
https://playground.jsreport.net/studio/workspace/S1MClt9hx/30
(tmp file, myReplace function)
kirill
@kirill
Posts made by kirill
-
Currectly helper for #xlsxReplace
-
Currectly helper for #xlsxReplace
{{#myReplace "xl/worksheets/sheet1.xml" "worksheet.sheetData[0].row[0].c[0]"}}
<c t="inlineStr"><is><t>Replace by myReplace</t></is></c>
{{/myReplace}}
function myReplace(fileName, path, row, cell) {
xlsxReplace.call(this, fileName, path);
}- dont work(
https://playground.jsreport.net/studio/workspace/S1MClt9hx/30
-
Source functions xlsxReplace, xlsxAdd adnt others
Can i read or modify functions Xlsx Recipies like xlsxReplace and others?
-
Multiple row at {{#xlsxAdd "xl/worksheets/sheet1.xml" "worksheet.sheetData[0].row"}}
Can i set a few <row>s tag to {{#xlsxAdd "xl/worksheets/sheet1.xml" "worksheet.sheetData[0].row"}}?
-
How can i pass "array.length" to {{#xlsxReplace "xl/worksheets/sheet1.xml" "worksheet.sheetData[0].row[6].c[0]"}}
How can i pass "array.length" to "{{#xlsxAdd "xl/worksheets/sheet1.xml" "worksheet.sheetData[0].row"}}"? or pass some variable to {{#xlsxAdd "xl/worksheets/sheet1.xml" "worksheet.sheetData[0].row"}}
So, need someone like : "
var rowCnt = 5;
var cellCnt = 3;
{{#xlsxReplace "xl/worksheets/sheet1.xml" "worksheet.sheetData[0].row[rowCnt].c[cellCnt ]"}}
"
or pass from data.json array.length to xlsxReplace -
Can I have lates link for my template in online-playground
Now i have "https://playground.jsreport.net/studio/workspace/BkYNEGlne/3" ... or "https://playground.jsreport.net/studio/workspace/BkYNEGlne/4" .... or "https://playground.jsreport.net/studio/workspace/BkYNEGlne/5"
Maybe possible this: "https://playground.jsreport.net/studio/workspace/BkYNEGlne/latest" or someone like it...?