Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8624793
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 12, 20262026-06-12T07:37:13+00:00 2026-06-12T07:37:13+00:00

Strange question — I’m looking for an example of how to put a ‘page’

  • 0

Strange question — I’m looking for an example of how to put a ‘page’ event into action in a DataTables project I’m working on.

The documenation is here — http://datatables.net/docs/DataTables/1.9.4/#page. I’m just unable to translate that into a working example to use.

To be more specific, I’m trying to run a function that reads every row, and if any of them have a specific class (created by user interaction), then remove it — and have this happen on every page change event. I have this function written, and it works if I modify the API, but if I can somehow this to the page event described above, that would be ideal.

Thank you in advance for your help, and any tidbits of information are truly appreciated!

In addition, I’m on Datatables 1.7.6, if that helps!

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-12T07:37:15+00:00Added an answer on June 12, 2026 at 7:37 am

    I found out (from the creator of Datatables on their forums), that this code below works:

    $('#myTable').on('page', function () {...} );
    

    It only works if you are on version 1.8 or greater, and for my purposes, it worked perfectly.

    Also, if you need to run a function on each table load, instead of of the page event, you can use fnDrawCallback. I’m sharing this because I wish that I had this clarified a few days ago because it would have saved me hours!

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Strange Question i guess but i have this bit of code in my page...
Maybe a strange question, but where would you put HttpHandler classes in a n-tier
This is a little bit of a strange question. I've been working on a
This might sound kinda strange question but I am puzzled. I was just looking
I have a strange question and a vb.net 2010 and wpf4 project. I have
A rather strange question: How can I test a custom 503 error page without
Quick and strange question: I have an object (in this example is small but
I have probem / strange question, i got algorithm with few for loops and
Bit of a strange question here i know. but i wanted to know if
I have a strange question concerning subroutines: As I'm creating a minimal language and

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.