title: Jquery Datatable clears table data when typing on search box and table data won't get back
body: <p>I'm working on Jquery data table. data retrieved via Ajax call and populated to the DataTable. the DataTable is inside a modal. When I type on the search bar, the problem is that the filter is not working. and also when I type anything on the search bar, it clears all table rows and won't get back.</p>
  <pre><code>   $(document).ready(function(){
              $('#table').DataTable({
                    &quot;searching&quot;: true,
      
                
                  });
  
          $.ajax({
                      type: &quot;POST&quot;,
                      data: {user_id: usr_id},
                      success: function(result){
            $('#table tbody').html(row);
      }
      
      });
  
          });
      
            
  </code></pre>