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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 6, 20262026-06-06T23:57:27+00:00 2026-06-06T23:57:27+00:00

I have been integrating datatables with our online application and while I’m overall impressed

  • 0

I have been integrating datatables with our online application and while I’m overall impressed there are some methods that just won’t work for us, one of which is the sorting of table columns, sadly our sort method is quite tricky and to re-write it would be a coders worst nightmare.

At present on our tables you click the cell header and this then refreshes the page with the new sorted data, my question is how can I override the default method and instead get it to call the specific script? I have tried the AjaxSource method but this isn’t working as expected and it will be hopefully be easier to re-write the sort rather than re-write the 2000 lines of data handling the table script does.

we are creating the datatable at present with the following :

objDataTable = $jq('#table' + TABLETABDATA).dataTable( {
"sScrollY": 520,
"bJQueryUI": true,
"bInfo": false,
"bPaginate": false,
"bScrollCollapse": true,
"bProcessing": true,
"bServerSide": true,
"sAjaxSource": AJAXSOURCE,
"sServerMethod": "POST",
"fnServerParams": function ( aoData ) {
    if (extraparams.length > 0)aoData.push( extraparams );
},
"iDeferLoading": 57,
"bSortClasses": false,
"sDom" : '<"H"<"sitedrop">lfr>t<"F"<"excelexport"><"pagination">ip>',
"oLanguage": { "sSearch": "Filter: " }
} );
  • 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-06T23:57:29+00:00Added an answer on June 6, 2026 at 11:57 pm

    I changed the call to the following and instead just added the links into the table header rows myself, I believe there is a more elegant way of doing this so if anyone can come up with one?

    objDataTable = $jq('#table' + TABLETABDATA).dataTable( {
        "sScrollY": 520,
        "bJQueryUI": true, 
        "bInfo": false, 
        "bPaginate": false,
        "bScrollCollapse": true,
        "bProcessing": true,
        "iDeferLoading": 57, 
        "bSort" : false, 
        "sDom" : '<"H"<"sitedrop">lfr>t<"F"<"excelexport"><"pagination">ip>', 
        "oLanguage": { "sSearch": "Filter: " } 
    } );
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have been busy integrating Wordpress to one of a CakePHP application.Last Monday I
I have been tasked with integrating image acquisition into a .NET application and I
We have been thinking recently about integrating our J2EE system with other applications written
I have just been integrating the Skyhook Wireless technology into my Android application. This
I have been integrating propel application,I just wanted to use two databases. But I
I have been integrating spring into an application, and have to redo a file
I have been tasked with integrating PayPal into a website that is in development.
I have been looking into integrating testing into my app based on RequireJS. I
I have been optimizing our continuous integration builds, and the remaining bottleneck seems to
Have been trying to encrypt an xml file to a string so that I

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.