title: Datatables Jquery - No matching records found
body: <p>I have Jquery Datatables server side and When i navigate to my page to see results in Datatables it displays "No matching records found" and than i debugged my code i can see its retrieve currect data and i also check Response in browser it is also retrieve data.</p>
  
  <p>Json Response:</p>
  
  <pre><code>{"data":
  [{"Kundenavn":"test 1"},
  {"Kundenavn":"test 2"},
  {"Kundenavn":"test 3"}]
  ,"draw":"1","recordsTotal":567,"recordsFiltered":567}
  </code></pre>
  
  <p>JavaScript:</p>
  
  <pre><code>&lt;table id="OrdrerList"&gt;
      &lt;thead&gt;
          &lt;tr&gt;
              &lt;th&gt;Kundenavn&lt;/th&gt;
          &lt;/tr&gt;
  
      &lt;/thead&gt;
      &lt;tbody&gt;
      &lt;/tbody&gt;
  &lt;/table&gt;
  
  $('#OrdrerList').DataTable({
  
   "processing": true,
   "serverSide": true,
  
      ajax:{
          url: '@Url.Action("GetClosedRMA", "User")',
          dataType: 'json',
          contentType: 'application/json; charset=utf-8',
          dataSrc: ''
  
          },
      columns: [
  
          { data: "Kundenavn" }
     ]
  });
  </code></pre>
  
  <p>Controller:</p>
  
  <pre><code>public JsonResult GetClosedRMA()
  {
      //Server side Parameters
  
      int start = Convert.ToInt32(Request["start"]);
      int length = Convert.ToInt32(Request["length"]);
      string searchValue = Request["search[value]"];
      string sortColumnName = Request["columns["+ Request["order[0][colmun]"]+ "][name]"];
      string sortDirection = Request["order[0][dir]"];
  
      List&lt;RMAclosedCase&gt; rmalist = new List&lt;RMAclosedCase&gt;();
      using (Namespace db = new Namespace())
      {
         rmalist = (from RH in db.RMA_History
                     join RS in db.RMAStatus on RH.StatusID equals RS.ID
                     where RH.SagesType == "LUK"
                     select new RMAclosedCase
                     {
                         Kundenavn = RH.Kundenavn
  
                     }).ToList();
  
         int totalrows = rmalist.Count();
              //Filter
              if (!string.IsNullOrEmpty(searchValue))
              {
                  rmalist = rmalist.Where(x =&gt; x.Kundenavn.ToLower().Contains(searchValue.ToLower())).ToList();
              }
         int totalrowsefterfiltering = rmalist.Count();
  
          //Paging
          rmalist = rmalist.Skip(start).Take(length).ToList();
  
          return Json(new {data= rmalist,draw = Request["draw"], recordsTotal = totalrows,recordsFiltered = totalrowsefterfiltering },JsonRequestBehavior.AllowGet);
      }
  }
  </code></pre>
  
  <p>What did i wrong?! :) Can anyone please help me or point me into right direction! :) Thanks in advance</p>