问题标签 [birt-deapi]
For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.
eclipse - Birt Reporting Tool中对特定ID值的查询数据
对于我正在创建的报告,我从报告参数中提取某些信息。假设我的 user1d 是 145,我所有想要的信息都以列表顺序显示在我的表单中,因为我使用表格和网格作为我的表单结构。我有四个信息部分(在表格标题的网格中)订单、付款和付款历史记录,它们是表格中的字段。而不是一个接一个地列出所有信息。我想根据它的用户 ID 对我的结果进行分组/链接,包括其各自的订单、付款和付款历史记录,然后按顺序排列以下用户 ID 及其各自的属性。
例如:用户:145 145 订单 145 付款 145 付款历史
用户:146 146 订单 146 付款 146 付款历史
等等....
重要的是我的表格遵循这种结构。这可以在Birt做吗?如果是这样,我的问题与我如何提取信息有关吗?我需要为每个部分单独查询吗?还是我没有使用 BIRT 内置的分组方法?如果有人有 BIRT 的经验并且做过我想做的事情,我将非常感谢你的帮助!
先感谢您!
javascript - 从数据源中添加动态文本和数据
我想通过单元格的脚本将动态文本框插入表格中的单元格。我在文档和 SO 中进行了搜索,但我发现的只是如何将文本插入动态文本,而不是动态文本框本身。
这可能吗,怎么做?
另外,是否可以在数据集的动态文本内的这个位置添加数据?
编辑
到目前为止我所尝试的:在此处使用嵌套循环时出错:您能帮助理解它为什么会出错吗?TypeError:无法调用 null 的方法“getCells”虽然输出符合预期。
birt - How to use single dataset for multiple tables in a single reportDesign in BIRT tool?
Is it possible to use single dataset for multiple tables in a single reportdesign document. Whereas data has repeating transactions for particular table. If yes, then please let me know how to define xPath in dataset.
Sample Data xml:
How to map this books array to table1 and videos array to table2 in single reportdesign?