Coding Duchess
Coding Duchess

Reputation: 6909

Apex 5.1 interactive grid hiding toolbar buttons

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

Upvotes: 1

Views: 5733

Answers (1)

romeuBraga
romeuBraga

Reputation: 2165

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

Upvotes: 3

Related Questions