title: Creating static nested/child table with jtable plugin
body: <p>Is anybody who used jtable plugin and create static nested tables inside their parents table?   In this code <strong>$("#Table TBODY tr td:first-child")</strong> selector does not exist in moment when child table loading because he was loading her content before parent #Table load and create <strong><em>placeholder</em></strong> for his child -> $(#Table TBODY tr td:first-child) selector. Exaple in <a href="http://www.jtable.org/Demo/MasterChild" rel="nofollow">http://www.jtable.org/Demo/MasterChild</a> is not same. </p>
  
  <pre><code>  function loadCaloriestable() {
          var d = $.Deferred();
          $('#Table').jtable({
              paging: true, //Enable paging
              pageSize: 5, //Set page size (default: 10)
              sorting: true, //Enable sorting
              defaultSorting: 'Name ASC', //Set default sorting
              actions: {
                  listAction: '/MNR/Fun'
              },
              fields: {
                  Total: {
                      title: 'Total',
                      width: '10%'
                  },
                  Goal: {
                      title: 'Goal',
                      width: '10%'
                  },
                  Remains: {
                      title: 'Remains',
                      width: '10%'
                  },
                  //-----------------
                  //CHILD TABLE DEFINITION 
                  Days: {
                      width: '30%',
                      sorting: false,
                      edit: false,
                      create: false,
                      display: function () {
                          $('#Table').jtable('openChildTable',
                                    $("#Table TBODY tr td:first-child"),
                                  {
                                      title: 'Dayssss',
                                      defaultSorting: 'Name ASC', //Set default sorting
                                      actions: {
                                          listAction: '/Patient/Days'
                                      },
                                      fields: {
                                          Day1: {
                                              title: 'Daya',
                                              width: '18%'
                                          },
                                          Day2: {
                                              title: 'Dayy',
                                              width: '18%'
                                          }
                                      }
                                  }
                                  , function (data) { //opened handler
                                       data.childTable.jtable('load'); 
                                  }
                                  );
                      }
                  }
                  //---------------------
              }
          });
          $('#Table').jtable('load');
      }
  </code></pre>