xlsx replace problem in dynamic sheets



  • Hello, I was creating an Excel report with dynamic shhet in jsreport, but when the number of incoming data is 48 or more, I get an error that I cannot understand. I think there is a problem with xslx replace. Below is the link I prepared as an example (note: the time and the number of data here must be the same and mock You can delete the number of data from the data and test it from the export, import and time array. Up to 47 codes work.)
    thank you in advance

    https://playground.jsreport.net/w/ziyacanerandac/D4MUm8O6



  • When you call xlsxAdd we parse what is being added and update the internal collections representing the xmls.
    But we do this only for a limited amount (50 xlsxAdd calls) because parsing millions of rows would have a significant performance impact. This default has always worked fine so far. However, you seem to work with more xlsxAdd results, so adding the following config should fix your workspace.

    "extensions": {
        "xlsx": {
          "numberOfParsedAddIterations": 5000
        }
    }
    


  • thank you it's worked


Log in to reply
 

Looks like your connection to jsreport forum was lost, please wait while we try to reconnect.