那就使用H5的连续模式,连续模式的设置参考这个属性设置:
renderMode: 'Galley'
- <script type="text/javascript">
- $(function () {
- var viewer = GrapeCity.ActiveReports.Viewer({
- element: '#viewerContainer',//报表展示区
- report: {
- id: "Reports/(多维透视表)商品销售及搭赠比例表.rdlx"
- },
- reportService:
- {
- url: '/ActiveReports.ReportService.asmx'//服务引用
- },
- uiType: 'Desktop',//展示模式,移动端
- documentLoaded: function reportLoader() {
- Console.log(viewer.pageCount);
- },
- reportLoaded: function (reportInfo) {
- console.log(reportInfo.paremeters);
- },
- localeUri: 'Scripts/i18n/Localeuri.txt', //汉化
- renderMode: 'Galley'
- });
- function refreshReport() { viewer.refresh() }
- setInterval(refreshReport, 100000);
- });
- </script>
复制代码
|