Events on pagination buttons

Hi Stu,
How do we raise an event when the one of the Pagination Arrows is clicked? The default event handlers are ‘Show’ and ‘Hide’ only. Can we create an ‘Arrow_Click’ event handler?

Thank you.

Good morning, @stevenlimo2012, and welcome to the Anvil Forum!

@admins, this is not really related to Checkboxes. You may want to split this off to its own topic, in Q&A.

@stevenlimo2012, you may want to use the Search feature (the image above) to search this forum for “pagination”. You’ll find plenty of places where it’s discussed. You may find an answer there.

Thank you for the suggestion. I checked but no answer for my question. I believe it has to be done via creating Javascript function, which is not something I am familiar with. Anyway cheers.

There isn’t a native way to set event handlers for the pagination button clicks. It’s certainly possible to add the event handlers using the anvil.js module.

You may want to make this a feature request if there’s a good use case for it.

Thank you for your quick solution in Github, it works great.