title: enable/disable 'add new' button in jquery jtable
body: <p>I am using jquery jtable to display tables from mysql db. In one of the tables, I want user to be allowed to insert only one row. i.e. disable <code>add new record</code> button once first row is inserted.</p>
  
  <p>Is it possible to do this?</p>
  
  <p>I have following structure defined for jtable:</p>
  
  <pre><code>$('#SchoolTableContainer').jtable({
      title : 'Schools List',
      paging: true, //Enable paging
      pageSize: 10, //Set page size (default: 10)
      sorting: true, //Enable sorting
      defaultSorting: 'name ASC', //Set default sorting
      actions : {
              listAction : 'ControllerAdminSchool?action=list',
              createAction : 'ControllerAdminSchool?action=create',
              updateAction : 'ControllerAdminSchool?action=update',
              deleteAction : 'ControllerAdminSchool?action=delete'
      },
      fields : {
              id : {
                  title : 'School Id',
                  key : true,
                  list : false
              },
              name : {
                  title : 'Name'
              },
              address : {
                  title : 'Address'
              },
              email : {
                  title : 'Email'
              },
              phone : {
                  title : 'Phone'
              },
              website : {
                  title : 'Website'
              },
              remark : {
                  title : 'remark'
              }
      }
    });
    $('#SchoolTableContainer').jtable('load');
  </code></pre>
  
  <p>Similarly can enable/disable <code>edit</code> &amp; <code>delete</code> buttons individually for each row depending upon some condition (e.g. if <code>name</code> has some particular value say <code>admin</code> then disable delete)?</p>
  
  <p>Also how to add custom button in each row (e.g. to view details I can click on a <code>view</code> button and can view full details of corresponding row)?</p>