最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

oracle apex - How to hide option "Fill", "Clear", "Copy Down" from Interac

programmeradmin3浏览0评论

I have followed this link to hide most of the options from the interactive grid.

Remove Oracle Apex Interactive Grid row actions

but I am not able to hide "Fill", "Clear" and "Copy Down".

I am using the commands as below :

actions.remove("selection-fill"); 
actions.remove("selection-clear"); 
actions.remove("selection-copy-down");

I am on APEX version, 24.1.5. Is there any other way to hide these options in this version?

Regards, Abha

I have followed this link to hide most of the options from the interactive grid.

Remove Oracle Apex Interactive Grid row actions

but I am not able to hide "Fill", "Clear" and "Copy Down".

I am using the commands as below :

actions.remove("selection-fill"); 
actions.remove("selection-clear"); 
actions.remove("selection-copy-down");

I am on APEX version, 24.1.5. Is there any other way to hide these options in this version?

Regards, Abha

Share asked Nov 28, 2024 at 10:37 AbhaAbha 3473 gold badges12 silver badges31 bronze badges
Add a comment  | 

1 Answer 1

Reset to default 0

Those options are evaluated when the selection changes. That post you are referring to will only fire on page load. So as soon as the selection changes, the actions will re-appear. The solution is to use a dynamic action. Example on an IG with static id emp. Only the attributes that need change are listed below, leave everything else default.

Dynamic Action:

  • Event: Selection Change[Interactive Grid]
  • Region: your interactive grid region

Action:

  • Action: Execute Javascript Code
  • Code:
var actions = apex.region("emp").widget().interactiveGrid("getActions");
    actions.remove("selection-fill"); 
    actions.remove("selection-clear"); 
    actions.remove("selection-copy-down");

与本文相关的文章

发布评论

评论列表(0)

  1. 暂无评论