SEND LONG DATA TO TEMPLATE XLSX



  • HI, I WANT TO SEND LONG DATA TO TEMPLATE XLSX BUT DELAY MUCH ONLY 400 RECORDS AND PAGE WEB IS FREEZING
    CODE:

    var request = {
          template: {
            content: fs.readFileSync(require('path').join('format/Report', 'content.handlebars'), 'utf8'),
            recipe: "html-to-xlsx",
            engine: 'handlebars'
          }, 
          data: req.body.template.data, // MORE OF 400 RECORDS
          options: { preview: true }
        }; 
        
        jsreport.render(request).then(function (o) {  
          o.result.pipe(res);
        })
    


  • Please share the report in playground so we can analyze what could be the issue.
    https://playground.jsreport.net/


Log in to reply
 

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