change position NEXT button on table view

Discussions related to customizing hooks. Hooks are documented at http://bigprof.com/appgini/help/advanced-topics/hooks/
Post Reply
ushay
Veteran Member
Posts: 54
Joined: 2020-06-26 21:30

change position NEXT button on table view

Post by ushay » 2022-06-27 11:31

Hello,

how can i please change the position of the NEXT/PREVIOUS button to the top of the page, or maybe make it fixed on the bottom bar.
i'm displaying 100 records on the table view and it is a pain to roll al the way down.
i have just upgraded to version 22.14 and still can't find a way to change it.

thank you,

Shay.

User avatar
a.gneady
Site Admin
Posts: 1281
Joined: 2012-09-27 14:46
Contact:

Re: change position NEXT button on table view

Post by a.gneady » 2022-07-02 11:28

Try adding the following code in the hooks/tablename-tv.js file (where tablename is the name of the concerned table -- create that file if it's not already there):

Code: Select all

$j(() => {
   $j('.pagination-section').insertBefore('.table-responsive')
})
:idea: AppGini plugins to add more power to your apps:
  • DataTalk is an innovative AppGini plugin based on ChatGPT that allows you to interact with your AppGini database using natural language questions, without writing any SQL. Check the demo video
  • Mass Update plugin: Update multiple records at once and improve your workflow efficiency.
  • Check our other plugins and get a generous discount of up to 30% when buying 2 or more plugins.

ushay
Veteran Member
Posts: 54
Joined: 2020-06-26 21:30

Re: change position NEXT button on table view

Post by ushay » 2022-07-02 18:20

Dear Ahmed,

thank you very much, it works great.

if i could keep the button fixed on the top while scrolling then it will be perfect.

thanks,

Shay.

Post Reply