0

How to hide the Printer,Trash,Duplicate and Add Record Icon in the latest version of Ninox

In the previous version of Ninox, I was able to hide the Printer, Trash, Duplicate and Add Record Icon with the Formula.......

html(“
<style>
.hud-menu-button.menu-icon.menu-icon-trash{display: none;}
.hud-menu-button.menu-icon.menu-icon-duplicate{display: none;}
.hud-menu-button.menu-icon.menu-icon-print{display: ;}
.hud-menu-button.menu-icon.menu-icon-add{display: ;}
</style>
”)

Is there a way to do it in Ninox 3.0 please?

Many thanks

Terence Ledbury

8replies Oldest first
  • Oldest first
  • Newest first
  • Active threads
  • Popular
    • Sean
    • Sean
    • 1 yr ago
    • Reported - view

    Yes, they can still be hidden...

     

    html(“
    <style>
    .hud-menu-button.i-32-24.i-light-grey.i-setting-print{display: none;}
    .hud-menu-button.i-32-24.i-light-grey.i-setting-trash{display: none;}
    .hud-menu-button.i-32-24.i-light-grey.i-setting-copy{display: none;}
    .hud-menu-button.i-32-24.i-light-grey.i-setting-add{display: none;}
    </style>
    ”)

    Like
    • Terence Ledbury
    • The Chiswick Lighting Company
    • Terence_Ledbury
    • 1 yr ago
    • Reported - view

    Thanks Sean, all works fine.

    Like
    • des.eug
    • deseug
    • 1 yr ago
    • Reported - view

    How do we find that information you gave?

    Thank yu

    Like
  • Coool Sean

    Where do you put this. I“m guessing you only need it system wide.
    i put it in Global Script Defs but got an error of ”unary comaprisions are not allowed in this context “ and refers to i-32-24

    Don”t like it on trigger on create in table either

    Guess its the wrong place then....

    Like
    • Sean
    • Sean
    • 1 yr ago
    • Reported - view

    @des.eug,

    In the browser version, I usually use Chrome for this, select “Inspect Elements” under the “View” menu in the “Developer” submenu. Highlight or click on the element you want to view.

     

    @Mel,

    As far as I know, it only works in a formula field. You can hide the formula field of course.

    Like
    • Terence Ledbury
    • The Chiswick Lighting Company
    • Terence_Ledbury
    • 1 yr ago
    • Reported - view

    I put a hidden formula on the form you want to restrict the use of the icons on. that way you can have different icons hidden on which ever form you like.

    Like
    • des.eug
    • deseug
    • 1 yr ago
    • Reported - view

    Thank you Sean

    Like
  • I need to hide them on the mobile app only? I have set our system up so that field operatives can submit reports, i dont want then to be able to access the calander as it shows information for senior management permission levels only?

    Like
Like Follow
  • 1 yr agoLast active
  • 8Replies
  • 1241Views