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 8880921
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 14, 20262026-06-14T20:14:51+00:00 2026-06-14T20:14:51+00:00

I have few questions about jQuery DataTables: How can i do that arrow next

  • 0

I have few questions about jQuery DataTables:

  1. How can i do that arrow next and arrow previus in pagination will be active all time?

  2. I use Ajax, and i pass only 10 results, but all results is more for example 300, so how can i set this value to all results?

  3. When I choose options rows per page from drop down menu I want call my javascript function, how can I do that?

My function:

    function prepareDataTable(){$("#displayData").dataTable(
    {aaData:listCustomer.rows,
    bSort:false,
aoColumns:
    [{mDataProp:"name"}]})};
  • 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-14T20:14:52+00:00Added an answer on June 14, 2026 at 8:14 pm

    For your 2nd question, you can specify your own length list (dropdown) by setting the parameter – aLengthMenu, you can find the example from http://datatables.net/ref as below:

    // Setting the default display length as well as length menu
    // This is likely to be wanted if you remove the '10' option which
    // is the iDisplayLength default.
    $(document).ready( function() {
      $('#example').dataTable( {
        "iDisplayLength": 25,
        "aLengthMenu": [[25, 50, 100, -1], [25, 50, 100, "All"]]
      } );
    } );
    

    The last -1 is meant for “All”.

    For your 3rd question, to inject your own callback upon page changing. I did not find an existing API/plugin. However, I have a suggestion: you can customize the plugin API – fnLengthChange to inject your desired behavior into it.

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

Sidebar

Related Questions

I have a few questions about the eq() property of jQuery and how to
I'm working on a jQuery plugin and I have a few questions about some
I have few questions about https in Scala Lift: How can I set for
I have few questions about ssis transction isolation levels. consider a scenario:I have an
I have few questions about using lock to protect my shared data structure. I
I have a few questions about Xcode and interaction with GCC 4.2.1: It doesn't
I have a few questions about this after reading the iPhone documentation on it:
I have a few questions about cross-page posting in ASP.NET: What is cross-page posting
I have a few questions about Core Location. 1) Should the user refuse permission
So I have a few questions about implementing the Android action bar. Up to

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.