Apex 5.1 interactive grid hiding toolbar buttons

做~自己de王妃 提交于 2020-01-14 03:30:11

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!