Hide the "back" and "cancel" key from the DETAIL view of a record

Discussions related to customizing hooks. Hooks are documented at http://bigprof.com/appgini/help/advanced-topics/hooks/
Post Reply
fgazza
Veteran Member
Posts: 205
Joined: 2019-04-30 17:37

Hide the "back" and "cancel" key from the DETAIL view of a record

Post by fgazza » 2020-07-02 21:56

Hi everyone.
Anyone know how to hide the "back" and "undo" keys from the DETAIL view of a record?

I would like to be able to do it through the hook file (php or -dv.js) of the table so that my personalization is preserved when I regenerate the files from appgini.

THANK YOU!

Fabiano

User avatar
jsetzer
AppGini Super Hero
AppGini Super Hero
Posts: 1814
Joined: 2018-07-06 06:03
Location: Kiel, Germany
Contact:

Re: Hide the "back" and "cancel" key from the DETAIL view of a record

Post by jsetzer » 2020-07-03 05:01

Code: Select all

$j("#deselect").hide();
Kind regards,
<js />

My AppGini Blog:
https://appgini.bizzworxx.de/blog

You can help us helping you:
Please always put code fragments inside [code]...[/code] blocks for better readability

AppGini 24.10 Revision 1579 + all AppGini Helper tools

fgazza
Veteran Member
Posts: 205
Joined: 2019-04-30 17:37

Re: Hide the "back" and "cancel" key from the DETAIL view of a record

Post by fgazza » 2020-07-03 15:45

hi! I put it in my -dv.js file in hook folder but it doesn't work.

User avatar
jsetzer
AppGini Super Hero
AppGini Super Hero
Posts: 1814
Joined: 2018-07-06 06:03
Location: Kiel, Germany
Contact:

Re: Hide the "back" and "cancel" key from the DETAIL view of a record

Post by jsetzer » 2020-07-03 17:03

That is strange: I have put this code in my hooks/TABLENAME-dv.js file and it hides the cancel/back buton.
I think there must be an error elsewhere in your javascript code.
Kind regards,
<js />

My AppGini Blog:
https://appgini.bizzworxx.de/blog

You can help us helping you:
Please always put code fragments inside [code]...[/code] blocks for better readability

AppGini 24.10 Revision 1579 + all AppGini Helper tools

fgazza
Veteran Member
Posts: 205
Joined: 2019-04-30 17:37

Re: Hide the "back" and "cancel" key from the DETAIL view of a record

Post by fgazza » 2020-07-03 18:11

you are right! I just had to clear the browser cache !!
Thank you very much!

User avatar
jsetzer
AppGini Super Hero
AppGini Super Hero
Posts: 1814
Joined: 2018-07-06 06:03
Location: Kiel, Germany
Contact:

Re: Hide the "back" and "cancel" key from the DETAIL view of a record

Post by jsetzer » 2020-07-03 18:26

Great, I'm happy it works now!
Kind regards,
<js />

My AppGini Blog:
https://appgini.bizzworxx.de/blog

You can help us helping you:
Please always put code fragments inside [code]...[/code] blocks for better readability

AppGini 24.10 Revision 1579 + all AppGini Helper tools

Post Reply