Multi-Section Layout

With ActiveReportsJS, you can easily create dynamic reports with a versatile layout model. This feature enables you to integrate multiple sections into a single report, each with its own page size, orientation, and margins. For instance, in this demo, the report contains two sections. The first section is set in Portrait orientation and showcases a summary of taxi drive statistics. The second section, in contrast, uses the Landscape orientation to display a detailed table of information about each taxi drive. Start exploring the full potential of ActiveReportsJS with a 30 days free trial today.

<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8" /> <meta http-equiv="X-UA-Compatible" content="IE=edge" /> <title>ActiveReportsJS sample</title> <meta name="viewport" content="width=device-width, initial-scale=1.0" /> <link rel="stylesheet" href="https://cdn.materialdesignicons.com/5.4.55/css/materialdesignicons.min.css" /> <link rel="stylesheet" type="text/css" href="https://cdn.mescius.com/activereportsjs/5.latest/styles/ar-js-ui.css" /> <link rel="stylesheet" type="text/css" href="https://cdn.mescius.com/activereportsjs/5.latest/styles/ar-js-viewer.css" /> <link rel="stylesheet" type="text/css" href="https://cdn.mescius.com/activereportsjs/5.latest/styles/ar-js-designer.css" /> <link rel="stylesheet" type="text/css" href="/activereportsjs/demos/resource/common/report-sample-style.css" /> <script src="/activereportsjs/demos/resource/common/init-report-sample.js"></script> <script src="https://cdn.mescius.com/activereportsjs/5.latest/dist/ar-js-core.js"></script> <script src="https://cdn.mescius.com/activereportsjs/5.latest/dist/ar-js-viewer.js"></script> <script src="https://cdn.mescius.com/activereportsjs/5.latest/dist/ar-js-designer.js"></script> <script src="https://cdn.mescius.com/activereportsjs/5.latest/dist/ar-js-pdf.js"></script> <script src="https://cdn.mescius.com/activereportsjs/5.latest/dist/ar-js-html.js"></script> <script src="https://cdn.mescius.com/activereportsjs/5.latest/dist/ar-js-tabular-data.js"></script> <script src="$DEMOROOT$/lib/purejs/license.js"></script> <script> function onLoad() { var paramsOpened = false; initReportSample( "viewer-host", "designer-host", "TaxiDriveReport.rdlx-json", "Multi-Section Layout", function (viewer) { viewer.documentLoaded.register(function () { var paramsBtn = document.querySelector( 'button[title="Parameters"]' ); if (paramsBtn && !paramsOpened) { paramsBtn.click(); paramsOpened = true; } }); } ); } </script> </head> <body onload="onLoad()"> <div id="root"> <div id="viewer-host"></div> <div id="designer-host"></div> </div> </body> </html>