Thank You @jan_blaha
jsreport.renderAsync working perfect for large data
Thank You @jan_blaha
jsreport.renderAsync working perfect for large data
ok thanks for quick reply
var data = $scope.dataarinsurancereport;
jsreport.serverUrl = 'http://localhost:5488';
jsreport.contentType = 'application/x-www-form-urlencoded';
var request = {
template: {
content: "{#child childtemp}<div style='text-align:center'>{#pageNum}/{#numPages}</div>",
recipe: "phantom-pdf",
engine: 'none',
},
};
jsreport.download('report.pdf', request);
can i use {#child childtemp} to append child template in content and {#pageNum} for page number as well from browser-client?
Thanks for response
var data = $scope.dataarinsurancereport;
jsreport.serverUrl = 'http://localhost:5488';
jsreport.contentType = 'application/x-www-form-urlencoded';
var request = {
template: {
shortid: "B1lfjxbTIN"
},
data: $scope.dataarinsurancereport
};
jsreport.renderAsync('report.pdf', request);
renderAsync request code
var data = $scope.dataarinsurancereport;
jsreport.serverUrl = 'http://localhost:5488';
jsreport.contentType = 'application/x-www-form-urlencoded';
var request = {
template: {
shortid: "B1lfjxbTIN"
},
data: {data: $scope.dataarinsurancereport }
};
jsreport.download('report.pdf', request);
//for 200 rows its work fine
//when i use jsreport.renderAsync it gives content or shortid error