buttons at the bottom in detail view

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

buttons at the bottom in detail view

Post by fgazza » 2020-06-20 07:14

Hi everyone.
I would like to make that the buttons (save, delete, preview ...) always appear at the bottom of a specific table in the detailed view.
Is there any way to do this by working only on the files in the hooks folder?
Thanks!
Fabiano

pbottcher
AppGini Super Hero
AppGini Super Hero
Posts: 1638
Joined: 2018-04-01 10:12

Re: buttons at the bottom in detail view

Post by pbottcher » 2020-06-20 07:29

Hi,

which buttons do you mean, please post a screenshot.
Any help offered comes with the best of intentions. Use it at your own risk. In any case, please make a backup of your existing environment before applying any changes.

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

Re: buttons at the bottom in detail view

Post by fgazza » 2020-06-20 08:50

Hi and thank for your help!
I mean the group of standard button to save record, update, delete, cancel and print preview (see screenshot).

the ideal would be, when the width of the browser window allows, to have the buttons in line at the bottom of the page and not one below the other. In the case of navigation from a smartphone or if the browser window is narrow, it is better that the buttons are displayed one below the other

Thank you!

Fabiano
buttons.png
buttons.png (7.39 KiB) Viewed 1807 times

pbottcher
AppGini Super Hero
AppGini Super Hero
Posts: 1638
Joined: 2018-04-01 10:12

Re: buttons at the bottom in detail view

Post by pbottcher » 2020-06-20 09:44

Hi,
isn't this the default behaviour? if you resize your browser (make it small) you will see the buttons go to the bottom of the page.
Any help offered comes with the best of intentions. Use it at your own risk. In any case, please make a backup of your existing environment before applying any changes.

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

Re: buttons at the bottom in detail view

Post by fgazza » 2020-06-20 10:47

Thank you so much for your help.
I try to explain myself better.
In detail view, in the computer browser (large window) I would like the buttons to appear as in screenshot 1.
In the layout of the detailed view when browsing from a mobile device or with a narrow browser window there is nothing to change because the buttons already appear at the bottom.

I would like to obtain the result shown in screenshot 1 by working only on the files in the hook folder and applying the result only to a specific table.

Thank you!
screenshot1.png
screenshot1.png (140.48 KiB) Viewed 1797 times
screenshot2.png
screenshot2.png (35.83 KiB) Viewed 1797 times

pbottcher
AppGini Super Hero
AppGini Super Hero
Posts: 1638
Joined: 2018-04-01 10:12

Re: buttons at the bottom in detail view

Post by pbottcher » 2020-06-20 17:28

Hi,

sorry to say that this is quite complicated to achieve.

To put "only" the buttons to the bottom of the page (but still in a column), you may use

Code: Select all

$j('#YOURTABLENAME_dv_form').removeClass('col-md-8 col-lg-10');
$j('#YOURTABLENAME_dv_action_buttons').removeClass('col-md-4 col-lg-2');
in the hooks/YOURRABLENAME-dv.js
Any help offered comes with the best of intentions. Use it at your own risk. In any case, please make a backup of your existing environment before applying any changes.

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

Re: buttons at the bottom in detail view

Post by fgazza » 2020-06-20 20:14

Ok! Wonderful! I will try it soon! Thanks!!!

Post Reply