寻找基于oracle apex布局设计的plsql代码 [英] looking for plsql code based on oracle apex layout design

查看:148
本文介绍了寻找基于oracle apex布局设计的plsql代码的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我创建了一个默认值为1的隐藏项目"P1_DOCUMENTS_COUNT".使用plsql也会在用户单击添加行"按钮时增加它.在下一行项目(行号为#)中创建10次:P1_DOC_DATE _#,P1_DOC_DESCRIPTION _#,P1_DOC_NAME _#,P1_DOC_CATEGORY _#,P1_DOC_FILE_BROWSER_#.在开始时-第2-9行将被隐藏.当P1_DOCUMENTS_COUNT = n时,显示行1,2,... n.

I have created a hidden item "P1_DOCUMENTS_COUNT" with default of 1. used plsql too increase it when users clicks the button "add row". Created 10 times the following row of items (# for the row number): P1_DOC_DATE_#, P1_DOC_DESCRIPTION_#, P1_DOC_NAME_#, P1_DOC_CATEGORY_#, P1_DOC_FILE_BROWSER_#. at the beginning - rows 2-9 will be hidden. when P1_DOCUMENTS_COUNT = n, show rows 1,2,...n.

问题是我在每行上都具有取消按钮,我正在寻找一种解决方案,以便如果没有取消按钮单击,然后按1依次单击添加行,它将显示所有10行,但是如果在中间单击取消按钮,则该行单击添加行也应显示该行.希望我能阐明我的观点.

Issue is I have cancel button on each row, I am looking for a solution so that if none of cancel button clicks then 1 by 1 clicking add row it shows all 10 rows but if cancel button gets clicked in the middle then that row should also appear by clicking add row. hope i clear my point.

有关更多信息,请检查URL:在Oracle Apex中使用Dynamic Action在单个按钮上具有多个条件

for more info please check url: Multiple conditions on single button with Dynamic Action in Oracle Apex

推荐答案

不用费劲就行了-只需将取消"按钮更改为清除"按钮,然后清空项目内容而不隐藏行.

Instead of braking your head on it - just change the "cancel" button to a "clear" button and empty the contents of the items without hiding the row.

或者-创建一个大小为10的数组,并保留其中清晰可见的信息

alternatively - create an array of size 10 and keep the information on what's been clear in it

这篇关于寻找基于oracle apex布局设计的plsql代码的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆