如何向 Oracle APEX 报告添加文本框?
我正在 Oracle APEX 中生成矩阵报告。 我已经正确显示了值,但是当我单击“编辑按钮”时,我希望所有单元格都变成文本框。 我知道您可以通过更改报告属性中的某些设置来做到这一点,但问题是我的矩阵报告是动态的,这意味着我事先不知道我的矩阵报告有多少行和列。 我希望我的样本能够更多地解释我所需要的。 谢谢。
I'm generating a matrix report in Oracle APEX. I've got the values displaying properly, but when I click the "Edit button", I want all the cells to turn into textboxes.
I know that you can do this by changing some settings in the Report Attributes, but the problem is my matrix report is dynamic, which means that I do not know in advance how many rows and columns my matrix report would be.
I hope my sample can explain more what I need. Thanks.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
我只是决定在 PL/SQL 数据库中创建的视图上使用表格形式。 动态数据存在一些复杂性,但我目前正在尝试解决这个问题。
I just decided to go with using a Tabular Form on a view that I created in the PL/SQL database. There are a few complications with dynamic data but I'm currently trying to get around that.
Apex 4.0 将具有当前所谓的“工作表”,它将引入表格形式的本机动态编辑。 您可以看看包括 ExtJS,就像一位 Oracle 大师所做的那样: http://apex.oracle.com/pls/otn/f?p=200801:2006 他通过“弹出”字段输入动态内容..但他的可编辑网格页面目前为 404'ing ..不确定它在哪里。
Apex 4.0 will have what is currently being called 'Worksheet' which will bring in native dynamic editing of tabular forms. You can have a look at including ExtJS, like one oracle guru has done: http://apex.oracle.com/pls/otn/f?p=200801:2006 He's got dynamic content entering with a 'popup' field.. but his editable grid page is 404'ing at the moment.. unsure where it is.
使用 APEX_ITEM API 来实现这一点。
https://docs.oracle.com/cd/E14373_01 /apirefs.32/e13369/apex_item.htm#AEAPI192
use APEX_ITEM API to achieve this.
https://docs.oracle.com/cd/E14373_01/apirefs.32/e13369/apex_item.htm#AEAPI192