title: Filtering firstname and lastname using datatable.js
body: <p>I have created a application with dataTable for filtering firstname and lastname, I am having a firstname and lastname text-field through which I would filter firstname and lastname. The filtering is working but the issue is that firstname and lastname filtering is doing from both the textfield, actually I need to make it into specific in such a way that firstname textfield is only for firstname filtering and lastname textfield is only for lastname filtering</p>
  
  <p>Can anyone please tell me some solution for this?</p>
  
  <p><strong><a href="http://jsfiddle.net/189Lp6u6/" rel="nofollow noreferrer">JSFiddle</a></strong></p>
  
  <p>My code is as given below:</p>
  
  <pre><code>$(document).ready(function () {
      myTable = $('#myTable').dataTable({
              "bSort": false,
              "bInfo": false,
              "bLengthChange": false,
              "bPaginate": false,
              "scrollY": "300px",
              "scrollX": "100%",
              "scrollCollapse": true,
      });
  
      new $.fn.dataTable.FixedColumns(myTable, {
          leftColumns: 1,
          rightColumns: 1
      });
  
     $('#firstNameTextBox').keyup(function () {
          filterNames(this.value, 0);
      });
  
       $('#secondNameTextBox').keyup(function () {
          filterNames(this.value, 0);
      });
  
  
      function filterNames(value) {
          myTable.fnFilter(value, 0, false, false, false, false);
      }
  });
  </code></pre>