Apex 5.1 interactive grid hiding toolbar buttons

2019-06-01 18:41发布

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"?

1条回答
倾城 Initia
2楼-- · 2019-06-01 19:27

Try to add this css to your page:

#myStaticIgId button[data-action="selection-add-row"], #myStaticIgId div[data-action="edit"] {
    display: none !important;
}

enter image description here

查看更多
登录 后发表回答