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

  • Home
  • SEARCH
  • 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 8259465
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 8, 20262026-06-08T02:52:17+00:00 2026-06-08T02:52:17+00:00

I am using DataTables for Showing tables values…I have done column filtering using select

  • 0

I am using DataTables for Showing tables values…I have done column filtering using select menu …but I have to use both select menu and input box…

  • 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-08T02:52:18+00:00Added an answer on June 8, 2026 at 2:52 am

    It’s essentially no different. Handle both through a callback. The method below will allow you to filter columns based on any input field on a server-side created table:

    var oTable = $('#disporeport').dataTable( {
            "aaSorting": [[ 7, "asc" ]],
            "bProcessing": true,
            "bServerSide": true,
            "sAjaxSource": "http://urltosubmit",
            "bJQueryUI": true,
            "sPaginationType": "full_numbers",
            "bAutoWidth": false,
            "bFilter":true,
            "bLengthChange": true,
            "bPaginate": true,
            "bSort": true,
            "iDisplayLength": 25,
            "aLengthMenu": [[10, 25, 50, -1], [10, 25, 50, "All"]],
            "bInfo": true,
            "aoColumns": [
                 { "sTitle": "col1", "bVisible":false},
                 { "sTitle": "col2", "sWidth": "20%"},
                 { "sTitle": "col3", "sWidth": "20%"}
            ],
            "fnServerParams": function ( aoData ) {
                aoData.push({ "name": "selboxparam", "value": $('#selboxid').val() },
                            { "name": "inputboxval", "value": $('#inputboxid').val() },
    
            }
        });
    

    So, the fnServerParams is what you’re concerned about. You supply a name and value for each box you want to pass. These come through to the ajax page as $_REQUEST values, which you can then use in your server-side script to filter via your chosen method. To make the table redraw, you’d simply have an fnDraw done onclick of a button or on mouseup of a field.

    Here’s the official datatables example for doing this with a dom-based table. Perhaps it’s a little less involved, but it’s also limited by how big the table can get (I wouldn’t personally do more than 10,000 records with a dom-based table)

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

Sidebar

Related Questions

I am using jQuery datatables for showing search results. I have some checkboxes which
I'm using Datatables and have this jquery plugin showing in a few columns http://www.erichynds.com/jquery/jquery-ui-multiselect-widget/
I have DataGridView and I set DataSource of datagridview by using DataTables. DataTable dt
I have started using the DataTables plugin (v1.6.2) for jQuery (v1.4.2), and I would
I have a datefilter for datatables using a calendar image and it works great.
I am using the jQuery DataTables plugin to do filtering on a set of
When i use the below function its showing the error message but still it
I am using the datatables jquery plugin. I am trying to use it as
I'm using datatables server side processing to retrieve all values for my table. One
I am using Datatables Collapsible/Expandable Grouping. http://jquery-datatables-row-grouping.googlecode.com/svn/trunk/collapsibleGroups.html I have configured it so that all

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.