XForms 中排序和分组的数据表
我正在使用 Orbeon 表单运行程序来执行一些 XForms 文档。我想管理一个条目列表来进行一些时间跟踪。我使用 xforms:repeat 生成包含我的数据的表,并使用 xforms:trigger 和 xforms:insert 插入新条目。现在我想按日期对条目进行排序并按月份对条目进行分组,如下图所示:
对于每个月,我想计算总小时数。有人可以提示如何使用 XForms/Orbeon 构建这个吗?是否有一个正在做类似事情的工作示例?
谢谢你!
I am using Orbeon form runner to execute some XForms documents. I would like to manage a list of entries to do some time tracking. I am using xforms:repeat to generate a table with my data and xforms:trigger with xforms:insert to insert new entries. Now I would like to sort the entries by date and group the entries by month, as seen in the following picture:
For each month I would like to calculate the total hours. Can somebody give a hint how to build this with XForms/ Orbeon, is there a working example out there that is doing something similar?
Thank you!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
以下是执行一些类似分组以输出以下内容的示例:
这并不完全是您在屏幕截图中所显示的内容,但应该让您充分了解如何进行此分组。
Here is an example that does some similar grouping to output the following:
It is not exactly what you have in your screenshot, but should give you a good enough idea of how to do this grouping.