Invoice ID Invoice number Date Amount Balance
Loading data from server
<%= javascript_tag do %> $(document).ready(function() { $('#invoices-table').dataTable({ "sDom": "<'row-fluid'<'span6'l><'span6 tableSearch'f>r>t<'row-fluid clearfix'<'span6 pull-left'i><'span6 pages pull-right'p>>", "sPaginationType": "bootstrap", "bProcessing": true, "bServerSide": true, "sAjaxSource": "<%= invoices_pagination_path :format => :json %>" }); }); <% end %>