Page 1 of 1

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

Posted: 2020-07-02 21:56
by fgazza
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

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

Posted: 2020-07-03 05:01
by jsetzer

Code: Select all

$j("#deselect").hide();

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

Posted: 2020-07-03 15:45
by fgazza
hi! I put it in my -dv.js file in hook folder but it doesn't work.

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

Posted: 2020-07-03 17:03
by jsetzer
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.

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

Posted: 2020-07-03 18:11
by fgazza
you are right! I just had to clear the browser cache !!
Thank you very much!

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

Posted: 2020-07-03 18:26
by jsetzer
Great, I'm happy it works now!