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

9 replies

null
    • Sean
    • 3 yrs 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>
    ”)

    • The Chiswick Lighting Company
    • Terence_Ledbury
    • 3 yrs ago
    • Reported - view

    Thanks Sean, all works fine.

    • deseug
    • 3 yrs ago
    • Reported - view

    How do we find that information you gave?

    Thank yu

    • Mel_Charles
    • 3 yrs ago
    • Reported - view

    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....

    • Sean
    • 3 yrs 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.

    • The Chiswick Lighting Company
    • Terence_Ledbury
    • 3 yrs 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.

      • Puff
      • 3 wk ago
      • Reported - view

        If I set „Show field only if“ to false in the formula field, the icons are visible anyway. How do you hide the field and let it work?

    • deseug
    • 3 yrs ago
    • Reported - view

    Thank you Sean

    • Terry_Prokopchuk
    • 3 yrs ago
    • Reported - view

    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?

Content aside

  • 3 wk agoLast active
  • 9Replies
  • 1507Views
  • 1 Following