docs: function(columns) {
    var options = { columns: columns }
    _.defaults(options, dtdefaults)
    var html = '<table cellpadding="0" cellspacing="0" border="0" class="display compact" id="datatable">'
    html += '<tfoot> <tr>'
    _.each(model.controls.header.header, function(field) {
      html += '<th> <input type="text" placeholder="'+field+' '+model.lang.search+'" /> </th>'
    })
    html += '</tr> </tfoot>'
    html += '</table>'
    jQuery('#datatable_wrapper').html(html)
    datatable = jQuery('#datatable').DataTable(options)
    datatable.columns().eq( 0 ).each( function ( colIdx ) {
      jQuery( 'input', datatable.column( colIdx ).footer() ).on( 'keyup change', function () {
        datatable.column( colIdx ).search( this.value ).draw()
      })
    })
  }