删除Oracle Apex Interactive Grid行操作 [英] Remove Oracle Apex Interactive Grid row actions

查看:21
本文介绍了删除Oracle Apex Interactive Grid行操作的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在Oracle APEX中,如何删除交互式网格行操作中的不同操作?

我想从"行操作"和"选择操作"菜单中删除或添加行的功能。

推荐答案

地域设置,高级,静电ID:emp

页面设置、JavaScript,在页面加载时执行

$(window).on("load", function() {
    var actions = apex.region("emp").widget().interactiveGrid("getActions");
    actions.remove("selection-add-row");
    actions.remove("selection-duplicate");
    actions.remove("selection-fill"); 
    actions.remove("selection-clear"); 
    actions.remove("selection-delete");
    actions.remove("selection-copy-down");
    actions.remove("selection-copy");
    actions.remove("selection-refresh"); 
    actions.remove("selection-revert"); 
    actions.remove("single-row-view");
    actions.remove("row-add-row");
    actions.remove("row-duplicate");
    actions.remove("row-delete"); 
    actions.remove("row-refresh"); 
    actions.remove("row-revert"); 
});

您可以将"emp"更改为您想要的任何内容,在静电ID和Javascript中都可以更改。删除要保留的行。

这篇关于删除Oracle Apex Interactive Grid行操作的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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