Search code examples
oracle-apexoracle-apex-5.1

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


Solution

  • 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