title: Jquery Jtable load Json from ajax call
body: <p>I am using <code>jtable.org-s</code> library for showing rows in a table. For populating rows I used <code>listAction</code> like this:</p>
  
  <pre><code>actions: {
    listAction: '/Passengers/Search'
  },
  </code></pre>
  
  <p>This URL returned valid json and everything worked fine. But I want to call the URL manually from ajax, because this URL returns more info than rows. It also returns info I need for other form elements, such as search result items count, woman/man ratio and etc.</p>
  
  <p>So, I want to ajax call, and load the response to my <code>jtable</code>:</p>
  
  <pre><code>$.ajax({
    url: '/Passengers/Search',
    type: 'POST',
    data: {},
    success: function(data) {
      // here I would like to inject the Json(data) to my table
    }
  });
  </code></pre>