问题
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:
Try to add this css to your page:
#myStaticIgId button[data-action="selection-add-row"], #myStaticIgId div[data-action="edit"] {
display: none !important;
}
来源:https://stackoverflow.com/questions/49681118/apex-5-1-interactive-grid-hiding-toolbar-buttons