Apex 5.1交互式网格隐藏工具栏按钮 [英] Apex 5.1 interactive grid hiding toolbar buttons
本文介绍了Apex 5.1交互式网格隐藏工具栏按钮的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
是否可以允许添加和保存操作,但是在网格工具栏中隐藏了添加行"和编辑"按钮呢?我允许以编程方式添加多行并具有保存"按钮,但隐藏添加行"和编辑"吗?
Is it possible to allow add and save actions but hiding the "add row" and 'edit" buttons in the grid toolbar? When I tried unchecking those buttons I was not longer able to add data to the grid progrmmatically. How can I allow adding multiple rows programmatically and having "save" button but hiding "add row" and "edit"?
推荐答案
尝试将此CSS添加到您的页面:
Try to add this css to your page:
#myStaticIgId button[data-action="selection-add-row"], #myStaticIgId div[data-action="edit"] {
display: none !important;
}
这篇关于Apex 5.1交互式网格隐藏工具栏按钮的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文