There is a sample app for Dynamic Actions you can install, I am using APEX 23.1.
有一个动态动作的示例应用程序可以安装,我使用的是APEX 23.1。
There is an example of making selections in a Shuttle and having an interactive grid refresh automatically when changes are made to the Shuttle.
例如,在Shuttle中进行选择,并在对Shuttle进行更改时自动刷新交互式网格。
There is no submit, and no other mechanism in the Dynamic Action to send the shuttle selection back into session state. So I have zero idea how it is working.
动态操作中没有提交,也没有其他机制将往返选择发送回会话状态。因此,我对它是如何运作的一无所知。
When I try to recreate the example, I have to add a PL\SQL step into the Dynamic Action, with an expression of NULL, just so I can send the values back into session state.
当我尝试重新创建该示例时,我必须将一个PL\SQL步骤添加到动态操作中,并使用NULL表达式,这样我就可以将这些值发送回会话状态。
Screenshots
截图
UI
用户界面
Simple Refresh action on Shuttle Dynamic Action
航天飞机动态动作的简易刷新动作
SQL on Interactive Grid
交互式网格上的SQL
Only way I can get it working in my app
我能让它在我的应用程序中运行的唯一方法
Here I manually submit the value of the page item to session set before doing the IG refresh.
在这里,我在执行IG刷新之前手动将页面项的值提交给Session Set。
更多回答
优秀答案推荐
You could be forgetting this setting here in your interactive grid, which refreshes the region:
在刷新区域的交互式网格中,您可能会忘记此设置:
You need to add your Shuttle page item under Page Items to Submit.
您需要在要提交的页面项目下添加您的Shuttle页面项目。
更多回答
Ah, thanks. Never use that. So that submits that item whenever the IG gets called to be refreshed?
啊,谢谢。千万别用这个。因此,每当IG被调用以进行刷新时,都会提交该项?
I was trying it with and without and playing with the Session attribute of the page item, but I know for sure the grid would not update without the above
我试着在有和没有的情况下使用页面项的会话属性,但我可以肯定的是,如果没有上面的内容,网格将不会更新
我是一名优秀的程序员,十分优秀!