1
0
mirror of https://github.com/DataTables/DataTables.git synced 2024-11-29 11:24:10 +01:00

Update - examples: All examples now use $().DataTable() to construct the table.

- The API examples already used the new form, but many were still
  `$().dataTable()`, which still works, but the new API form method is
  prefered.
This commit is contained in:
Allan Jardine 2015-08-10 14:57:47 +01:00
parent ecf94192ae
commit 781f7fcaef
65 changed files with 129 additions and 129 deletions

View File

@ -1 +1 @@
bc2b4c87f2b853484b113046e54e59016e795a26 d2d0e05d9d169d5a8bfc4031ff6db51b0e58cd3e

View File

@ -20,7 +20,7 @@
$(document).ready(function() { $(document).ready(function() {
$('#example').dataTable( { $('#example').DataTable( {
"columnDefs": [ "columnDefs": [
{ {
// The `data` parameter refers to the data for the cell (defined by the // The `data` parameter refers to the data for the cell (defined by the
@ -550,7 +550,7 @@ $(document).ready(function() {
<div class="tabs"> <div class="tabs">
<div class="js"> <div class="js">
<p>The Javascript shown below is used to initialise the table shown in this example:</p><code class="multiline language-js">$(document).ready(function() { <p>The Javascript shown below is used to initialise the table shown in this example:</p><code class="multiline language-js">$(document).ready(function() {
$('#example').dataTable( { $('#example').DataTable( {
&quot;columnDefs&quot;: [ &quot;columnDefs&quot;: [
{ {
// The `data` parameter refers to the data for the cell (defined by the // The `data` parameter refers to the data for the cell (defined by the

View File

@ -20,7 +20,7 @@
$(document).ready(function() { $(document).ready(function() {
$('#example').dataTable( { $('#example').DataTable( {
"columnDefs": [ { "columnDefs": [ {
"visible": false, "visible": false,
"targets": -1 "targets": -1
@ -550,7 +550,7 @@ $(document).ready(function() {
<div class="tabs"> <div class="tabs">
<div class="js"> <div class="js">
<p>The Javascript shown below is used to initialise the table shown in this example:</p><code class="multiline language-js">$(document).ready(function() { <p>The Javascript shown below is used to initialise the table shown in this example:</p><code class="multiline language-js">$(document).ready(function() {
$('#example').dataTable( { $('#example').DataTable( {
&quot;columnDefs&quot;: [ { &quot;columnDefs&quot;: [ {
&quot;visible&quot;: false, &quot;visible&quot;: false,
&quot;targets&quot;: -1 &quot;targets&quot;: -1

View File

@ -26,7 +26,7 @@ $.extend( $.fn.dataTable.defaults, {
$(document).ready(function() { $(document).ready(function() {
$('#example').dataTable(); $('#example').DataTable();
} ); } );
@ -547,7 +547,7 @@ $(document).ready(function() {
$(document).ready(function() { $(document).ready(function() {
$('#example').dataTable(); $('#example').DataTable();
} );</code> } );</code>
<p>In addition to the above code, the following Javascript library files are loaded for use in this example:</p> <p>In addition to the above code, the following Javascript library files are loaded for use in this example:</p>

View File

@ -28,7 +28,7 @@
$(document).ready(function() { $(document).ready(function() {
$('#example').dataTable( { $('#example').DataTable( {
"dom": '<"top"iflp<"clear">>rt<"bottom"iflp<"clear">>' "dom": '<"top"iflp<"clear">>rt<"bottom"iflp<"clear">>'
} ); } );
} ); } );
@ -546,7 +546,7 @@ $(document).ready(function() {
<div class="tabs"> <div class="tabs">
<div class="js"> <div class="js">
<p>The Javascript shown below is used to initialise the table shown in this example:</p><code class="multiline language-js">$(document).ready(function() { <p>The Javascript shown below is used to initialise the table shown in this example:</p><code class="multiline language-js">$(document).ready(function() {
$('#example').dataTable( { $('#example').DataTable( {
&quot;dom&quot;: '&lt;&quot;top&quot;iflp&lt;&quot;clear&quot;&gt;&gt;rt&lt;&quot;bottom&quot;iflp&lt;&quot;clear&quot;&gt;&gt;' &quot;dom&quot;: '&lt;&quot;top&quot;iflp&lt;&quot;clear&quot;&gt;&gt;rt&lt;&quot;bottom&quot;iflp&lt;&quot;clear&quot;&gt;&gt;'
} ); } );
} );</code> } );</code>

View File

@ -26,7 +26,7 @@
$(document).ready(function() { $(document).ready(function() {
$('#example').dataTable( { $('#example').DataTable( {
"dom": '<"toolbar">frtip' "dom": '<"toolbar">frtip'
} ); } );
@ -551,7 +551,7 @@ $(document).ready(function() {
<div class="tabs"> <div class="tabs">
<div class="js"> <div class="js">
<p>The Javascript shown below is used to initialise the table shown in this example:</p><code class="multiline language-js">$(document).ready(function() { <p>The Javascript shown below is used to initialise the table shown in this example:</p><code class="multiline language-js">$(document).ready(function() {
$('#example').dataTable( { $('#example').DataTable( {
&quot;dom&quot;: '&lt;&quot;toolbar&quot;&gt;frtip' &quot;dom&quot;: '&lt;&quot;toolbar&quot;&gt;frtip'
} ); } );

View File

@ -30,7 +30,7 @@ $(document).ready(function() {
.on( 'order.dt', function () { eventFired( 'Order' ); } ) .on( 'order.dt', function () { eventFired( 'Order' ); } )
.on( 'search.dt', function () { eventFired( 'Search' ); } ) .on( 'search.dt', function () { eventFired( 'Search' ); } )
.on( 'page.dt', function () { eventFired( 'Page' ); } ) .on( 'page.dt', function () { eventFired( 'Page' ); } )
.dataTable(); .DataTable();
} ); } );
@ -562,7 +562,7 @@ $(document).ready(function() {
.on( 'order.dt', function () { eventFired( 'Order' ); } ) .on( 'order.dt', function () { eventFired( 'Order' ); } )
.on( 'search.dt', function () { eventFired( 'Search' ); } ) .on( 'search.dt', function () { eventFired( 'Search' ); } )
.on( 'page.dt', function () { eventFired( 'Page' ); } ) .on( 'page.dt', function () { eventFired( 'Page' ); } )
.dataTable(); .DataTable();
} );</code> } );</code>
<p>In addition to the above code, the following Javascript library files are loaded for use in this example:</p> <p>In addition to the above code, the following Javascript library files are loaded for use in this example:</p>

View File

@ -20,7 +20,7 @@
$(document).ready(function() { $(document).ready(function() {
$('#example').dataTable(); $('#example').DataTable();
$('#example tbody').on('click', 'tr', function () { $('#example tbody').on('click', 'tr', function () {
var name = $('td', this).eq(0).text(); var name = $('td', this).eq(0).text();
@ -539,7 +539,7 @@ $(document).ready(function() {
<div class="tabs"> <div class="tabs">
<div class="js"> <div class="js">
<p>The Javascript shown below is used to initialise the table shown in this example:</p><code class="multiline language-js">$(document).ready(function() { <p>The Javascript shown below is used to initialise the table shown in this example:</p><code class="multiline language-js">$(document).ready(function() {
$('#example').dataTable(); $('#example').DataTable();
$('#example tbody').on('click', 'tr', function () { $('#example tbody').on('click', 'tr', function () {
var name = $('td', this).eq(0).text(); var name = $('td', this).eq(0).text();

View File

@ -22,7 +22,7 @@
$(document).ready(function() { $(document).ready(function() {
$('#example').dataTable( { $('#example').DataTable( {
"footerCallback": function ( row, data, start, end, display ) { "footerCallback": function ( row, data, start, end, display ) {
var api = this.api(), data; var api = this.api(), data;
@ -511,7 +511,7 @@ $(document).ready(function() {
<div class="tabs"> <div class="tabs">
<div class="js"> <div class="js">
<p>The Javascript shown below is used to initialise the table shown in this example:</p><code class="multiline language-js">$(document).ready(function() { <p>The Javascript shown below is used to initialise the table shown in this example:</p><code class="multiline language-js">$(document).ready(function() {
$('#example').dataTable( { $('#example').DataTable( {
&quot;footerCallback&quot;: function ( row, data, start, end, display ) { &quot;footerCallback&quot;: function ( row, data, start, end, display ) {
var api = this.api(), data; var api = this.api(), data;

View File

@ -20,7 +20,7 @@
$(document).ready(function() { $(document).ready(function() {
$('#example').dataTable( { $('#example').DataTable( {
"language": { "language": {
"url": "//cdn.datatables.net/plug-ins/9dcbecd42ad/i18n/German.json" "url": "//cdn.datatables.net/plug-ins/9dcbecd42ad/i18n/German.json"
} }
@ -539,7 +539,7 @@ $(document).ready(function() {
<div class="tabs"> <div class="tabs">
<div class="js"> <div class="js">
<p>The Javascript shown below is used to initialise the table shown in this example:</p><code class="multiline language-js">$(document).ready(function() { <p>The Javascript shown below is used to initialise the table shown in this example:</p><code class="multiline language-js">$(document).ready(function() {
$('#example').dataTable( { $('#example').DataTable( {
&quot;language&quot;: { &quot;language&quot;: {
&quot;url&quot;: &quot;//cdn.datatables.net/plug-ins/9dcbecd42ad/i18n/German.json&quot; &quot;url&quot;: &quot;//cdn.datatables.net/plug-ins/9dcbecd42ad/i18n/German.json&quot;
} }

View File

@ -20,7 +20,7 @@
$(document).ready(function() { $(document).ready(function() {
$('#example').dataTable( { $('#example').DataTable( {
"lengthMenu": [[10, 25, 50, -1], [10, 25, 50, "All"]] "lengthMenu": [[10, 25, 50, -1], [10, 25, 50, "All"]]
} ); } );
} ); } );
@ -543,7 +543,7 @@ $(document).ready(function() {
<div class="tabs"> <div class="tabs">
<div class="js"> <div class="js">
<p>The Javascript shown below is used to initialise the table shown in this example:</p><code class="multiline language-js">$(document).ready(function() { <p>The Javascript shown below is used to initialise the table shown in this example:</p><code class="multiline language-js">$(document).ready(function() {
$('#example').dataTable( { $('#example').DataTable( {
&quot;lengthMenu&quot;: [[10, 25, 50, -1], [10, 25, 50, &quot;All&quot;]] &quot;lengthMenu&quot;: [[10, 25, 50, -1], [10, 25, 50, &quot;All&quot;]]
} ); } );
} );</code> } );</code>

View File

@ -25,7 +25,7 @@
$(document).ready(function() { $(document).ready(function() {
$('#example').dataTable( { $('#example').DataTable( {
"createdRow": function ( row, data, index ) { "createdRow": function ( row, data, index ) {
if ( data[5].replace(/[\$,]/g, '') * 1 > 150000 ) { if ( data[5].replace(/[\$,]/g, '') * 1 > 150000 ) {
$('td', row).eq(5).addClass('highlight'); $('td', row).eq(5).addClass('highlight');
@ -547,7 +547,7 @@ $(document).ready(function() {
<div class="tabs"> <div class="tabs">
<div class="js"> <div class="js">
<p>The Javascript shown below is used to initialise the table shown in this example:</p><code class="multiline language-js">$(document).ready(function() { <p>The Javascript shown below is used to initialise the table shown in this example:</p><code class="multiline language-js">$(document).ready(function() {
$('#example').dataTable( { $('#example').DataTable( {
&quot;createdRow&quot;: function ( row, data, index ) { &quot;createdRow&quot;: function ( row, data, index ) {
if ( data[5].replace(/[\$,]/g, '') * 1 &gt; 150000 ) { if ( data[5].replace(/[\$,]/g, '') * 1 &gt; 150000 ) {
$('td', row).eq(5).addClass('highlight'); $('td', row).eq(5).addClass('highlight');

View File

@ -20,7 +20,7 @@
$(document).ready(function() { $(document).ready(function() {
$('#example').dataTable( { $('#example').DataTable( {
"aoColumns": [ "aoColumns": [
null, null,
null, null,
@ -556,7 +556,7 @@ $(document).ready(function() {
<div class="tabs"> <div class="tabs">
<div class="js"> <div class="js">
<p>The Javascript shown below is used to initialise the table shown in this example:</p><code class="multiline language-js">$(document).ready(function() { <p>The Javascript shown below is used to initialise the table shown in this example:</p><code class="multiline language-js">$(document).ready(function() {
$('#example').dataTable( { $('#example').DataTable( {
&quot;aoColumns&quot;: [ &quot;aoColumns&quot;: [
null, null,
null, null,

View File

@ -19,7 +19,7 @@
<script type="text/javascript" language="javascript" class="init"> <script type="text/javascript" language="javascript" class="init">
$(document).ready(function() { $(document).ready(function() {
$('#example').dataTable( { $('#example').DataTable( {
"ajax": { "ajax": {
"url": "data/objects_root_array.txt", "url": "data/objects_root_array.txt",
"dataSrc": "" "dataSrc": ""
@ -98,7 +98,7 @@ $(document).ready(function() {
<div class="tabs"> <div class="tabs">
<div class="js"> <div class="js">
<p>The Javascript shown below is used to initialise the table shown in this example:</p><code class="multiline language-js">$(document).ready(function() { <p>The Javascript shown below is used to initialise the table shown in this example:</p><code class="multiline language-js">$(document).ready(function() {
$('#example').dataTable( { $('#example').DataTable( {
&quot;ajax&quot;: { &quot;ajax&quot;: {
&quot;url&quot;: &quot;data/objects_root_array.txt&quot;, &quot;url&quot;: &quot;data/objects_root_array.txt&quot;,
&quot;dataSrc&quot;: &quot;&quot; &quot;dataSrc&quot;: &quot;&quot;

View File

@ -19,7 +19,7 @@
<script type="text/javascript" language="javascript" class="init"> <script type="text/javascript" language="javascript" class="init">
$(document).ready(function() { $(document).ready(function() {
$('#example').dataTable( { $('#example').DataTable( {
"ajax": { "ajax": {
"url": "data/arrays_custom_prop.txt", "url": "data/arrays_custom_prop.txt",
"dataSrc": "demo" "dataSrc": "demo"
@ -90,7 +90,7 @@ $(document).ready(function() {
<div class="tabs"> <div class="tabs">
<div class="js"> <div class="js">
<p>The Javascript shown below is used to initialise the table shown in this example:</p><code class="multiline language-js">$(document).ready(function() { <p>The Javascript shown below is used to initialise the table shown in this example:</p><code class="multiline language-js">$(document).ready(function() {
$('#example').dataTable( { $('#example').DataTable( {
&quot;ajax&quot;: { &quot;ajax&quot;: {
&quot;url&quot;: &quot;data/arrays_custom_prop.txt&quot;, &quot;url&quot;: &quot;data/arrays_custom_prop.txt&quot;,
&quot;dataSrc&quot;: &quot;demo&quot; &quot;dataSrc&quot;: &quot;demo&quot;

View File

@ -19,7 +19,7 @@
<script type="text/javascript" language="javascript" class="init"> <script type="text/javascript" language="javascript" class="init">
$(document).ready(function() { $(document).ready(function() {
$('#example').dataTable( { $('#example').DataTable( {
"processing": true, "processing": true,
"ajax": "data/objects_deep.txt", "ajax": "data/objects_deep.txt",
"columns": [ "columns": [
@ -105,7 +105,7 @@ $(document).ready(function() {
<div class="tabs"> <div class="tabs">
<div class="js"> <div class="js">
<p>The Javascript shown below is used to initialise the table shown in this example:</p><code class="multiline language-js">$(document).ready(function() { <p>The Javascript shown below is used to initialise the table shown in this example:</p><code class="multiline language-js">$(document).ready(function() {
$('#example').dataTable( { $('#example').DataTable( {
&quot;processing&quot;: true, &quot;processing&quot;: true,
&quot;ajax&quot;: &quot;data/objects_deep.txt&quot;, &quot;ajax&quot;: &quot;data/objects_deep.txt&quot;,
&quot;columns&quot;: [ &quot;columns&quot;: [

View File

@ -19,7 +19,7 @@
<script type="text/javascript" language="javascript" class="init"> <script type="text/javascript" language="javascript" class="init">
$(document).ready(function() { $(document).ready(function() {
$('#example').dataTable( { $('#example').DataTable( {
"ajax": "data/arrays.txt", "ajax": "data/arrays.txt",
"deferRender": true "deferRender": true
} ); } );
@ -82,7 +82,7 @@ $(document).ready(function() {
<div class="tabs"> <div class="tabs">
<div class="js"> <div class="js">
<p>The Javascript shown below is used to initialise the table shown in this example:</p><code class="multiline language-js">$(document).ready(function() { <p>The Javascript shown below is used to initialise the table shown in this example:</p><code class="multiline language-js">$(document).ready(function() {
$('#example').dataTable( { $('#example').DataTable( {
&quot;ajax&quot;: &quot;data/arrays.txt&quot;, &quot;ajax&quot;: &quot;data/arrays.txt&quot;,
&quot;deferRender&quot;: true &quot;deferRender&quot;: true
} ); } );

View File

@ -19,7 +19,7 @@
<script type="text/javascript" language="javascript" class="init"> <script type="text/javascript" language="javascript" class="init">
$(document).ready(function() { $(document).ready(function() {
$('#example').dataTable( { $('#example').DataTable( {
"ajax": "data/objects.txt", "ajax": "data/objects.txt",
"columns": [ "columns": [
{ "data": "name" }, { "data": "name" },
@ -99,7 +99,7 @@ $(document).ready(function() {
<div class="tabs"> <div class="tabs">
<div class="js"> <div class="js">
<p>The Javascript shown below is used to initialise the table shown in this example:</p><code class="multiline language-js">$(document).ready(function() { <p>The Javascript shown below is used to initialise the table shown in this example:</p><code class="multiline language-js">$(document).ready(function() {
$('#example').dataTable( { $('#example').DataTable( {
&quot;ajax&quot;: &quot;data/objects.txt&quot;, &quot;ajax&quot;: &quot;data/objects.txt&quot;,
&quot;columns&quot;: [ &quot;columns&quot;: [
{ &quot;data&quot;: &quot;name&quot; }, { &quot;data&quot;: &quot;name&quot; },

View File

@ -19,7 +19,7 @@
<script type="text/javascript" language="javascript" class="init"> <script type="text/javascript" language="javascript" class="init">
$(document).ready(function() { $(document).ready(function() {
$('#example').dataTable( { $('#example').DataTable( {
"ajax": "data/objects_subarrays.txt", "ajax": "data/objects_subarrays.txt",
"columns": [ "columns": [
{ "data": "name[, ]" }, { "data": "name[, ]" },
@ -115,7 +115,7 @@ $(document).ready(function() {
<div class="tabs"> <div class="tabs">
<div class="js"> <div class="js">
<p>The Javascript shown below is used to initialise the table shown in this example:</p><code class="multiline language-js">$(document).ready(function() { <p>The Javascript shown below is used to initialise the table shown in this example:</p><code class="multiline language-js">$(document).ready(function() {
$('#example').dataTable( { $('#example').DataTable( {
&quot;ajax&quot;: &quot;data/objects_subarrays.txt&quot;, &quot;ajax&quot;: &quot;data/objects_subarrays.txt&quot;,
&quot;columns&quot;: [ &quot;columns&quot;: [
{ &quot;data&quot;: &quot;name[, ]&quot; }, { &quot;data&quot;: &quot;name[, ]&quot; },

View File

@ -19,7 +19,7 @@
<script type="text/javascript" language="javascript" class="init"> <script type="text/javascript" language="javascript" class="init">
$(document).ready(function() { $(document).ready(function() {
$('#example').dataTable( { $('#example').DataTable( {
ajax: "data/orthogonal.txt", ajax: "data/orthogonal.txt",
columns: [ columns: [
{ data: "name" }, { data: "name" },
@ -105,7 +105,7 @@ $(document).ready(function() {
<div class="tabs"> <div class="tabs">
<div class="js"> <div class="js">
<p>The Javascript shown below is used to initialise the table shown in this example:</p><code class="multiline language-js">$(document).ready(function() { <p>The Javascript shown below is used to initialise the table shown in this example:</p><code class="multiline language-js">$(document).ready(function() {
$('#example').dataTable( { $('#example').DataTable( {
ajax: &quot;data/orthogonal.txt&quot;, ajax: &quot;data/orthogonal.txt&quot;,
columns: [ columns: [
{ data: &quot;name&quot; }, { data: &quot;name&quot; },

View File

@ -19,7 +19,7 @@
<script type="text/javascript" language="javascript" class="init"> <script type="text/javascript" language="javascript" class="init">
$(document).ready(function() { $(document).ready(function() {
$('#example').dataTable( { $('#example').DataTable( {
"ajax": "data/arrays.txt" "ajax": "data/arrays.txt"
} ); } );
} ); } );
@ -95,7 +95,7 @@ $(document).ready(function() {
<div class="tabs"> <div class="tabs">
<div class="js"> <div class="js">
<p>The Javascript shown below is used to initialise the table shown in this example:</p><code class="multiline language-js">$(document).ready(function() { <p>The Javascript shown below is used to initialise the table shown in this example:</p><code class="multiline language-js">$(document).ready(function() {
$('#example').dataTable( { $('#example').DataTable( {
&quot;ajax&quot;: &quot;data/arrays.txt&quot; &quot;ajax&quot;: &quot;data/arrays.txt&quot;
} ); } );
} );</code> } );</code>

View File

@ -20,7 +20,7 @@
$(document).ready(function() { $(document).ready(function() {
$('#example').dataTable( { $('#example').DataTable( {
"initComplete": function () { "initComplete": function () {
var api = this.api(); var api = this.api();
api.$('td').click( function () { api.$('td').click( function () {
@ -549,7 +549,7 @@ $(document).ready(function() {
<div class="tabs"> <div class="tabs">
<div class="js"> <div class="js">
<p>The Javascript shown below is used to initialise the table shown in this example:</p><code class="multiline language-js">$(document).ready(function() { <p>The Javascript shown below is used to initialise the table shown in this example:</p><code class="multiline language-js">$(document).ready(function() {
$('#example').dataTable( { $('#example').DataTable( {
&quot;initComplete&quot;: function () { &quot;initComplete&quot;: function () {
var api = this.api(); var api = this.api();
api.$('td').click( function () { api.$('td').click( function () {

View File

@ -36,7 +36,7 @@ function filterColumn ( i ) {
} }
$(document).ready(function() { $(document).ready(function() {
$('#example').dataTable(); $('#example').DataTable();
$('input.global_filter').on( 'keyup click', function () { $('input.global_filter').on( 'keyup click', function () {
filterGlobal(); filterGlobal();
@ -638,7 +638,7 @@ function filterColumn ( i ) {
} }
$(document).ready(function() { $(document).ready(function() {
$('#example').dataTable(); $('#example').DataTable();
$('input.global_filter').on( 'keyup click', function () { $('input.global_filter').on( 'keyup click', function () {
filterGlobal(); filterGlobal();

View File

@ -19,7 +19,7 @@
<script type="text/javascript" language="javascript" class="init"> <script type="text/javascript" language="javascript" class="init">
$(document).ready(function() { $(document).ready(function() {
$('#example').dataTable( { $('#example').DataTable( {
"pagingType": "full_numbers" "pagingType": "full_numbers"
} ); } );
} ); } );
@ -552,7 +552,7 @@ $(document).ready(function() {
<div class="tabs"> <div class="tabs">
<div class="js"> <div class="js">
<p>The Javascript shown below is used to initialise the table shown in this example:</p><code class="multiline language-js">$(document).ready(function() { <p>The Javascript shown below is used to initialise the table shown in this example:</p><code class="multiline language-js">$(document).ready(function() {
$('#example').dataTable( { $('#example').DataTable( {
&quot;pagingType&quot;: &quot;full_numbers&quot; &quot;pagingType&quot;: &quot;full_numbers&quot;
} ); } );
} );</code> } );</code>

View File

@ -19,7 +19,7 @@
<script type="text/javascript" language="javascript" class="init"> <script type="text/javascript" language="javascript" class="init">
$(document).ready(function() { $(document).ready(function() {
$('#example').dataTable( { $('#example').DataTable( {
"language": { "language": {
"decimal": ",", "decimal": ",",
"thousands": "." "thousands": "."
@ -547,7 +547,7 @@ $(document).ready(function() {
<div class="tabs"> <div class="tabs">
<div class="js"> <div class="js">
<p>The Javascript shown below is used to initialise the table shown in this example:</p><code class="multiline language-js">$(document).ready(function() { <p>The Javascript shown below is used to initialise the table shown in this example:</p><code class="multiline language-js">$(document).ready(function() {
$('#example').dataTable( { $('#example').DataTable( {
&quot;language&quot;: { &quot;language&quot;: {
&quot;decimal&quot;: &quot;,&quot;, &quot;decimal&quot;: &quot;,&quot;,
&quot;thousands&quot;: &quot;.&quot; &quot;thousands&quot;: &quot;.&quot;

View File

@ -19,7 +19,7 @@
<script type="text/javascript" language="javascript" class="init"> <script type="text/javascript" language="javascript" class="init">
$(document).ready(function() { $(document).ready(function() {
$('#example').dataTable(); $('#example').DataTable();
} ); } );
</script> </script>
@ -539,7 +539,7 @@ $(document).ready(function() {
<div class="tabs"> <div class="tabs">
<div class="js"> <div class="js">
<p>The Javascript shown below is used to initialise the table shown in this example:</p><code class="multiline language-js">$(document).ready(function() { <p>The Javascript shown below is used to initialise the table shown in this example:</p><code class="multiline language-js">$(document).ready(function() {
$('#example').dataTable(); $('#example').DataTable();
} );</code> } );</code>
<p>In addition to the above code, the following Javascript library files are loaded for use in this example:</p> <p>In addition to the above code, the following Javascript library files are loaded for use in this example:</p>

View File

@ -19,7 +19,7 @@
<script type="text/javascript" language="javascript" class="init"> <script type="text/javascript" language="javascript" class="init">
$(document).ready(function() { $(document).ready(function() {
$('#example').dataTable( { $('#example').DataTable( {
"dom": '<"top"i>rt<"bottom"flp><"clear">' "dom": '<"top"i>rt<"bottom"flp><"clear">'
} ); } );
} ); } );
@ -600,7 +600,7 @@ $(document).ready(function() {
<div class="tabs"> <div class="tabs">
<div class="js"> <div class="js">
<p>The Javascript shown below is used to initialise the table shown in this example:</p><code class="multiline language-js">$(document).ready(function() { <p>The Javascript shown below is used to initialise the table shown in this example:</p><code class="multiline language-js">$(document).ready(function() {
$('#example').dataTable( { $('#example').DataTable( {
&quot;dom&quot;: '&lt;&quot;top&quot;i&gt;rt&lt;&quot;bottom&quot;flp&gt;&lt;&quot;clear&quot;&gt;' &quot;dom&quot;: '&lt;&quot;top&quot;i&gt;rt&lt;&quot;bottom&quot;flp&gt;&lt;&quot;clear&quot;&gt;'
} ); } );
} );</code> } );</code>

View File

@ -19,7 +19,7 @@
<script type="text/javascript" language="javascript" class="init"> <script type="text/javascript" language="javascript" class="init">
$(document).ready(function() { $(document).ready(function() {
$('#example').dataTable( { $('#example').DataTable( {
"paging": false, "paging": false,
"ordering": false, "ordering": false,
"info": false "info": false
@ -533,7 +533,7 @@ $(document).ready(function() {
<div class="tabs"> <div class="tabs">
<div class="js"> <div class="js">
<p>The Javascript shown below is used to initialise the table shown in this example:</p><code class="multiline language-js">$(document).ready(function() { <p>The Javascript shown below is used to initialise the table shown in this example:</p><code class="multiline language-js">$(document).ready(function() {
$('#example').dataTable( { $('#example').DataTable( {
&quot;paging&quot;: false, &quot;paging&quot;: false,
&quot;ordering&quot;: false, &quot;ordering&quot;: false,
&quot;info&quot;: false &quot;info&quot;: false

View File

@ -23,7 +23,7 @@
<script type="text/javascript" language="javascript" class="init"> <script type="text/javascript" language="javascript" class="init">
$(document).ready(function() { $(document).ready(function() {
$('#example').dataTable(); $('#example').DataTable();
} ); } );
</script> </script>
@ -537,7 +537,7 @@ $(document).ready(function() {
<div class="tabs"> <div class="tabs">
<div class="js"> <div class="js">
<p>The Javascript shown below is used to initialise the table shown in this example:</p><code class="multiline language-js">$(document).ready(function() { <p>The Javascript shown below is used to initialise the table shown in this example:</p><code class="multiline language-js">$(document).ready(function() {
$('#example').dataTable(); $('#example').DataTable();
} );</code> } );</code>
<p>In addition to the above code, the following Javascript library files are loaded for use in this example:</p> <p>In addition to the above code, the following Javascript library files are loaded for use in this example:</p>

View File

@ -19,7 +19,7 @@
<script type="text/javascript" language="javascript" class="init"> <script type="text/javascript" language="javascript" class="init">
$(document).ready(function() { $(document).ready(function() {
$('#example').dataTable( { $('#example').DataTable( {
"columnDefs": [ "columnDefs": [
{ {
"targets": [ 2 ], "targets": [ 2 ],
@ -550,7 +550,7 @@ $(document).ready(function() {
<div class="tabs"> <div class="tabs">
<div class="js"> <div class="js">
<p>The Javascript shown below is used to initialise the table shown in this example:</p><code class="multiline language-js">$(document).ready(function() { <p>The Javascript shown below is used to initialise the table shown in this example:</p><code class="multiline language-js">$(document).ready(function() {
$('#example').dataTable( { $('#example').DataTable( {
&quot;columnDefs&quot;: [ &quot;columnDefs&quot;: [
{ {
&quot;targets&quot;: [ 2 ], &quot;targets&quot;: [ 2 ],

View File

@ -19,7 +19,7 @@
<script type="text/javascript" language="javascript" class="init"> <script type="text/javascript" language="javascript" class="init">
$(document).ready(function() { $(document).ready(function() {
$('#example').dataTable( { $('#example').DataTable( {
"language": { "language": {
"lengthMenu": "Display _MENU_ records per page", "lengthMenu": "Display _MENU_ records per page",
"zeroRecords": "Nothing found - sorry", "zeroRecords": "Nothing found - sorry",
@ -539,7 +539,7 @@ $(document).ready(function() {
<div class="tabs"> <div class="tabs">
<div class="js"> <div class="js">
<p>The Javascript shown below is used to initialise the table shown in this example:</p><code class="multiline language-js">$(document).ready(function() { <p>The Javascript shown below is used to initialise the table shown in this example:</p><code class="multiline language-js">$(document).ready(function() {
$('#example').dataTable( { $('#example').DataTable( {
&quot;language&quot;: { &quot;language&quot;: {
&quot;lengthMenu&quot;: &quot;Display _MENU_ records per page&quot;, &quot;lengthMenu&quot;: &quot;Display _MENU_ records per page&quot;,
&quot;zeroRecords&quot;: &quot;Nothing found - sorry&quot;, &quot;zeroRecords&quot;: &quot;Nothing found - sorry&quot;,

View File

@ -20,7 +20,7 @@
$(document).ready(function() { $(document).ready(function() {
$('#example').dataTable( { $('#example').DataTable( {
columnDefs: [ { columnDefs: [ {
targets: [ 0 ], targets: [ 0 ],
orderData: [ 0, 1 ] orderData: [ 0, 1 ]
@ -486,7 +486,7 @@ $(document).ready(function() {
<div class="tabs"> <div class="tabs">
<div class="js"> <div class="js">
<p>The Javascript shown below is used to initialise the table shown in this example:</p><code class="multiline language-js">$(document).ready(function() { <p>The Javascript shown below is used to initialise the table shown in this example:</p><code class="multiline language-js">$(document).ready(function() {
$('#example').dataTable( { $('#example').DataTable( {
columnDefs: [ { columnDefs: [ {
targets: [ 0 ], targets: [ 0 ],
orderData: [ 0, 1 ] orderData: [ 0, 1 ]

View File

@ -23,7 +23,7 @@
<script type="text/javascript" language="javascript" class="init"> <script type="text/javascript" language="javascript" class="init">
$(document).ready(function() { $(document).ready(function() {
$('table.display').dataTable(); $('table.display').DataTable();
} ); } );
</script> </script>
@ -254,7 +254,7 @@ $(document).ready(function() {
<div class="tabs"> <div class="tabs">
<div class="js"> <div class="js">
<p>The Javascript shown below is used to initialise the table shown in this example:</p><code class="multiline language-js">$(document).ready(function() { <p>The Javascript shown below is used to initialise the table shown in this example:</p><code class="multiline language-js">$(document).ready(function() {
$('table.display').dataTable(); $('table.display').DataTable();
} );</code> } );</code>
<p>In addition to the above code, the following Javascript library files are loaded for use in this example:</p> <p>In addition to the above code, the following Javascript library files are loaded for use in this example:</p>

View File

@ -24,7 +24,7 @@
<script type="text/javascript" language="javascript" class="init"> <script type="text/javascript" language="javascript" class="init">
$(document).ready(function() { $(document).ready(function() {
$('#example').dataTable( { $('#example').DataTable( {
"scrollX": true "scrollX": true
} ); } );
} ); } );
@ -704,7 +704,7 @@ $(document).ready(function() {
<div class="tabs"> <div class="tabs">
<div class="js"> <div class="js">
<p>The Javascript shown below is used to initialise the table shown in this example:</p><code class="multiline language-js">$(document).ready(function() { <p>The Javascript shown below is used to initialise the table shown in this example:</p><code class="multiline language-js">$(document).ready(function() {
$('#example').dataTable( { $('#example').DataTable( {
&quot;scrollX&quot;: true &quot;scrollX&quot;: true
} ); } );
} );</code> } );</code>

View File

@ -24,7 +24,7 @@
<script type="text/javascript" language="javascript" class="init"> <script type="text/javascript" language="javascript" class="init">
$(document).ready(function() { $(document).ready(function() {
$('#example').dataTable( { $('#example').DataTable( {
"scrollY": 200, "scrollY": 200,
"scrollX": true "scrollX": true
} ); } );
@ -700,7 +700,7 @@ $(document).ready(function() {
<div class="tabs"> <div class="tabs">
<div class="js"> <div class="js">
<p>The Javascript shown below is used to initialise the table shown in this example:</p><code class="multiline language-js">$(document).ready(function() { <p>The Javascript shown below is used to initialise the table shown in this example:</p><code class="multiline language-js">$(document).ready(function() {
$('#example').dataTable( { $('#example').DataTable( {
&quot;scrollY&quot;: 200, &quot;scrollY&quot;: 200,
&quot;scrollX&quot;: true &quot;scrollX&quot;: true
} ); } );

View File

@ -19,7 +19,7 @@
<script type="text/javascript" language="javascript" class="init"> <script type="text/javascript" language="javascript" class="init">
$(document).ready(function() { $(document).ready(function() {
$('#example').dataTable( { $('#example').DataTable( {
"scrollY": "200px", "scrollY": "200px",
"scrollCollapse": true, "scrollCollapse": true,
"paging": false "paging": false
@ -543,7 +543,7 @@ $(document).ready(function() {
<div class="tabs"> <div class="tabs">
<div class="js"> <div class="js">
<p>The Javascript shown below is used to initialise the table shown in this example:</p><code class="multiline language-js">$(document).ready(function() { <p>The Javascript shown below is used to initialise the table shown in this example:</p><code class="multiline language-js">$(document).ready(function() {
$('#example').dataTable( { $('#example').DataTable( {
&quot;scrollY&quot;: &quot;200px&quot;, &quot;scrollY&quot;: &quot;200px&quot;,
&quot;scrollCollapse&quot;: true, &quot;scrollCollapse&quot;: true,
&quot;paging&quot;: false &quot;paging&quot;: false

View File

@ -19,7 +19,7 @@
<script type="text/javascript" language="javascript" class="init"> <script type="text/javascript" language="javascript" class="init">
$(document).ready(function() { $(document).ready(function() {
$('#example').dataTable( { $('#example').DataTable( {
stateSave: true stateSave: true
} ); } );
} ); } );
@ -545,7 +545,7 @@ $(document).ready(function() {
<div class="tabs"> <div class="tabs">
<div class="js"> <div class="js">
<p>The Javascript shown below is used to initialise the table shown in this example:</p><code class="multiline language-js">$(document).ready(function() { <p>The Javascript shown below is used to initialise the table shown in this example:</p><code class="multiline language-js">$(document).ready(function() {
$('#example').dataTable( { $('#example').DataTable( {
stateSave: true stateSave: true
} ); } );
} );</code> } );</code>

View File

@ -19,7 +19,7 @@
<script type="text/javascript" language="javascript" class="init"> <script type="text/javascript" language="javascript" class="init">
$(document).ready(function() { $(document).ready(function() {
$('#example').dataTable( { $('#example').DataTable( {
"order": [[ 3, "desc" ]] "order": [[ 3, "desc" ]]
} ); } );
} ); } );
@ -539,7 +539,7 @@ $(document).ready(function() {
<div class="tabs"> <div class="tabs">
<div class="js"> <div class="js">
<p>The Javascript shown below is used to initialise the table shown in this example:</p><code class="multiline language-js">$(document).ready(function() { <p>The Javascript shown below is used to initialise the table shown in this example:</p><code class="multiline language-js">$(document).ready(function() {
$('#example').dataTable( { $('#example').DataTable( {
&quot;order&quot;: [[ 3, &quot;desc&quot; ]] &quot;order&quot;: [[ 3, &quot;desc&quot; ]]
} ); } );
} );</code> } );</code>

View File

@ -20,7 +20,7 @@
$(document).ready(function() { $(document).ready(function() {
$('#example').dataTable( { $('#example').DataTable( {
"ajax": '../ajax/data/arrays.txt' "ajax": '../ajax/data/arrays.txt'
} ); } );
} ); } );
@ -82,7 +82,7 @@ $(document).ready(function() {
<div class="tabs"> <div class="tabs">
<div class="js"> <div class="js">
<p>The Javascript shown below is used to initialise the table shown in this example:</p><code class="multiline language-js">$(document).ready(function() { <p>The Javascript shown below is used to initialise the table shown in this example:</p><code class="multiline language-js">$(document).ready(function() {
$('#example').dataTable( { $('#example').DataTable( {
&quot;ajax&quot;: '../ajax/data/arrays.txt' &quot;ajax&quot;: '../ajax/data/arrays.txt'
} ); } );
} );</code> } );</code>

View File

@ -20,7 +20,7 @@
$(document).ready(function() { $(document).ready(function() {
$('#example').dataTable(); $('#example').DataTable();
} ); } );
@ -534,7 +534,7 @@ $(document).ready(function() {
<div class="tabs"> <div class="tabs">
<div class="js"> <div class="js">
<p>The Javascript shown below is used to initialise the table shown in this example:</p><code class="multiline language-js">$(document).ready(function() { <p>The Javascript shown below is used to initialise the table shown in this example:</p><code class="multiline language-js">$(document).ready(function() {
$('#example').dataTable(); $('#example').DataTable();
} );</code> } );</code>
<p>In addition to the above code, the following Javascript library files are loaded for use in this example:</p> <p>In addition to the above code, the following Javascript library files are loaded for use in this example:</p>

View File

@ -82,7 +82,7 @@ var dataSet = [
$(document).ready(function() { $(document).ready(function() {
$('#demo').html( '<table cellpadding="0" cellspacing="0" border="0" class="display" id="example"></table>' ); $('#demo').html( '<table cellpadding="0" cellspacing="0" border="0" class="display" id="example"></table>' );
$('#example').dataTable( { $('#example').DataTable( {
"data": dataSet, "data": dataSet,
"columns": [ "columns": [
{ "title": "Engine" }, { "title": "Engine" },
@ -188,7 +188,7 @@ $(document).ready(function() {
$(document).ready(function() { $(document).ready(function() {
$('#demo').html( '&lt;table cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; border=&quot;0&quot; class=&quot;display&quot; id=&quot;example&quot;&gt;&lt;/table&gt;' ); $('#demo').html( '&lt;table cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; border=&quot;0&quot; class=&quot;display&quot; id=&quot;example&quot;&gt;&lt;/table&gt;' );
$('#example').dataTable( { $('#example').DataTable( {
&quot;data&quot;: dataSet, &quot;data&quot;: dataSet,
&quot;columns&quot;: [ &quot;columns&quot;: [
{ &quot;title&quot;: &quot;Engine&quot; }, { &quot;title&quot;: &quot;Engine&quot; },

View File

@ -19,7 +19,7 @@
<script type="text/javascript" language="javascript" class="init"> <script type="text/javascript" language="javascript" class="init">
$(document).ready(function() { $(document).ready(function() {
$('#example').dataTable( { $('#example').DataTable( {
"processing": true, "processing": true,
"serverSide": true, "serverSide": true,
"ajax": "../server_side/scripts/server_processing.php" "ajax": "../server_side/scripts/server_processing.php"
@ -83,7 +83,7 @@ $(document).ready(function() {
<div class="tabs"> <div class="tabs">
<div class="js"> <div class="js">
<p>The Javascript shown below is used to initialise the table shown in this example:</p><code class="multiline language-js">$(document).ready(function() { <p>The Javascript shown below is used to initialise the table shown in this example:</p><code class="multiline language-js">$(document).ready(function() {
$('#example').dataTable( { $('#example').DataTable( {
&quot;processing&quot;: true, &quot;processing&quot;: true,
&quot;serverSide&quot;: true, &quot;serverSide&quot;: true,
&quot;ajax&quot;: &quot;../server_side/scripts/server_processing.php&quot; &quot;ajax&quot;: &quot;../server_side/scripts/server_processing.php&quot;

View File

@ -53,7 +53,7 @@ $.fn.dataTable.ext.order['dom-checkbox'] = function ( settings, col )
/* Initialise the table with the required column ordering data types */ /* Initialise the table with the required column ordering data types */
$(document).ready(function() { $(document).ready(function() {
$('#example').dataTable( { $('#example').DataTable( {
"columns": [ "columns": [
null, null,
{ "orderDataType": "dom-text-numeric" }, { "orderDataType": "dom-text-numeric" },
@ -1636,7 +1636,7 @@ $.fn.dataTable.ext.order['dom-checkbox'] = function ( settings, col )
/* Initialise the table with the required column ordering data types */ /* Initialise the table with the required column ordering data types */
$(document).ready(function() { $(document).ready(function() {
$('#example').dataTable( { $('#example').DataTable( {
&quot;columns&quot;: [ &quot;columns&quot;: [
null, null,
{ &quot;orderDataType&quot;: &quot;dom-text-numeric&quot; }, { &quot;orderDataType&quot;: &quot;dom-text-numeric&quot; },

View File

@ -38,7 +38,7 @@ $.fn.dataTable.ext.type.order['salary-grade-pre'] = function ( d ) {
$(document).ready(function() { $(document).ready(function() {
$('#example').dataTable(); $('#example').DataTable();
} ); } );
@ -575,7 +575,7 @@ $.fn.dataTable.ext.type.order['salary-grade-pre'] = function ( d ) {
$(document).ready(function() { $(document).ready(function() {
$('#example').dataTable(); $('#example').DataTable();
} );</code> } );</code>
<p>In addition to the above code, the following Javascript library files are loaded for use in this example:</p> <p>In addition to the above code, the following Javascript library files are loaded for use in this example:</p>

View File

@ -29,7 +29,7 @@ $.fn.dataTable.ext.type.order['salary-grade-pre'] = function ( d ) {
}; };
$(document).ready(function() { $(document).ready(function() {
$('#example').dataTable( { $('#example').DataTable( {
"columnDefs": [ { "columnDefs": [ {
"type": "salary-grade", "type": "salary-grade",
"targets": -1 "targets": -1
@ -564,7 +564,7 @@ $(document).ready(function() {
}; };
$(document).ready(function() { $(document).ready(function() {
$('#example').dataTable( { $('#example').DataTable( {
&quot;columnDefs&quot;: [ { &quot;columnDefs&quot;: [ {
&quot;type&quot;: &quot;salary-grade&quot;, &quot;type&quot;: &quot;salary-grade&quot;,
&quot;targets&quot;: -1 &quot;targets&quot;: -1

View File

@ -19,7 +19,7 @@
<script type="text/javascript" language="javascript" class="init"> <script type="text/javascript" language="javascript" class="init">
$(document).ready(function() { $(document).ready(function() {
$('#example').dataTable( { $('#example').DataTable( {
"processing": true, "processing": true,
"serverSide": true, "serverSide": true,
"ajax": { "ajax": {
@ -91,7 +91,7 @@ $(document).ready(function() {
<div class="tabs"> <div class="tabs">
<div class="js"> <div class="js">
<p>The Javascript shown below is used to initialise the table shown in this example:</p><code class="multiline language-js">$(document).ready(function() { <p>The Javascript shown below is used to initialise the table shown in this example:</p><code class="multiline language-js">$(document).ready(function() {
$('#example').dataTable( { $('#example').DataTable( {
&quot;processing&quot;: true, &quot;processing&quot;: true,
&quot;serverSide&quot;: true, &quot;serverSide&quot;: true,
&quot;ajax&quot;: { &quot;ajax&quot;: {

View File

@ -19,7 +19,7 @@
<script type="text/javascript" language="javascript" class="init"> <script type="text/javascript" language="javascript" class="init">
$(document).ready(function() { $(document).ready(function() {
$('#example').dataTable( { $('#example').DataTable( {
"processing": true, "processing": true,
"serverSide": true, "serverSide": true,
"ajax": "scripts/server_processing.php", "ajax": "scripts/server_processing.php",
@ -166,7 +166,7 @@ $(document).ready(function() {
<div class="tabs"> <div class="tabs">
<div class="js"> <div class="js">
<p>The Javascript shown below is used to initialise the table shown in this example:</p><code class="multiline language-js">$(document).ready(function() { <p>The Javascript shown below is used to initialise the table shown in this example:</p><code class="multiline language-js">$(document).ready(function() {
$('#example').dataTable( { $('#example').DataTable( {
&quot;processing&quot;: true, &quot;processing&quot;: true,
&quot;serverSide&quot;: true, &quot;serverSide&quot;: true,
&quot;ajax&quot;: &quot;scripts/server_processing.php&quot;, &quot;ajax&quot;: &quot;scripts/server_processing.php&quot;,

View File

@ -19,7 +19,7 @@
<script type="text/javascript" language="javascript" class="init"> <script type="text/javascript" language="javascript" class="init">
$(document).ready(function() { $(document).ready(function() {
$('#example').dataTable( { $('#example').DataTable( {
"processing": true, "processing": true,
"serverSide": true, "serverSide": true,
"ajax": "scripts/ids-objects.php", "ajax": "scripts/ids-objects.php",
@ -97,7 +97,7 @@ $(document).ready(function() {
<div class="tabs"> <div class="tabs">
<div class="js"> <div class="js">
<p>The Javascript shown below is used to initialise the table shown in this example:</p><code class="multiline language-js">$(document).ready(function() { <p>The Javascript shown below is used to initialise the table shown in this example:</p><code class="multiline language-js">$(document).ready(function() {
$('#example').dataTable( { $('#example').DataTable( {
&quot;processing&quot;: true, &quot;processing&quot;: true,
&quot;serverSide&quot;: true, &quot;serverSide&quot;: true,
&quot;ajax&quot;: &quot;scripts/ids-objects.php&quot;, &quot;ajax&quot;: &quot;scripts/ids-objects.php&quot;,

View File

@ -19,7 +19,7 @@
<script type="text/javascript" language="javascript" class="init"> <script type="text/javascript" language="javascript" class="init">
$(document).ready(function() { $(document).ready(function() {
$('#example').dataTable( { $('#example').DataTable( {
"processing": true, "processing": true,
"serverSide": true, "serverSide": true,
"ajax": { "ajax": {
@ -87,7 +87,7 @@ $(document).ready(function() {
<div class="tabs"> <div class="tabs">
<div class="js"> <div class="js">
<p>The Javascript shown below is used to initialise the table shown in this example:</p><code class="multiline language-js">$(document).ready(function() { <p>The Javascript shown below is used to initialise the table shown in this example:</p><code class="multiline language-js">$(document).ready(function() {
$('#example').dataTable( { $('#example').DataTable( {
&quot;processing&quot;: true, &quot;processing&quot;: true,
&quot;serverSide&quot;: true, &quot;serverSide&quot;: true,
&quot;ajax&quot;: { &quot;ajax&quot;: {

View File

@ -19,7 +19,7 @@
<script type="text/javascript" language="javascript" class="init"> <script type="text/javascript" language="javascript" class="init">
$(document).ready(function() { $(document).ready(function() {
$('#example').dataTable( { $('#example').DataTable( {
"processing": true, "processing": true,
"serverSide": true, "serverSide": true,
"ajax": "scripts/objects.php", "ajax": "scripts/objects.php",
@ -87,7 +87,7 @@ $(document).ready(function() {
<div class="tabs"> <div class="tabs">
<div class="js"> <div class="js">
<p>The Javascript shown below is used to initialise the table shown in this example:</p><code class="multiline language-js">$(document).ready(function() { <p>The Javascript shown below is used to initialise the table shown in this example:</p><code class="multiline language-js">$(document).ready(function() {
$('#example').dataTable( { $('#example').DataTable( {
&quot;processing&quot;: true, &quot;processing&quot;: true,
&quot;serverSide&quot;: true, &quot;serverSide&quot;: true,
&quot;ajax&quot;: &quot;scripts/objects.php&quot;, &quot;ajax&quot;: &quot;scripts/objects.php&quot;,

View File

@ -138,7 +138,7 @@ $.fn.dataTable.Api.register( 'clearPipeline()', function () {
// DataTables initialisation // DataTables initialisation
// //
$(document).ready(function() { $(document).ready(function() {
$('#example').dataTable( { $('#example').DataTable( {
"processing": true, "processing": true,
"serverSide": true, "serverSide": true,
"ajax": $.fn.dataTable.pipeline( { "ajax": $.fn.dataTable.pipeline( {
@ -324,7 +324,7 @@ $.fn.dataTable.Api.register( 'clearPipeline()', function () {
// DataTables initialisation // DataTables initialisation
// //
$(document).ready(function() { $(document).ready(function() {
$('#example').dataTable( { $('#example').DataTable( {
&quot;processing&quot;: true, &quot;processing&quot;: true,
&quot;serverSide&quot;: true, &quot;serverSide&quot;: true,
&quot;ajax&quot;: $.fn.dataTable.pipeline( { &quot;ajax&quot;: $.fn.dataTable.pipeline( {

View File

@ -20,7 +20,7 @@
$(document).ready(function() { $(document).ready(function() {
$('#example').dataTable( { $('#example').DataTable( {
"processing": true, "processing": true,
"serverSide": true, "serverSide": true,
"ajax": { "ajax": {
@ -95,7 +95,7 @@ $(document).ready(function() {
<div class="tabs"> <div class="tabs">
<div class="js"> <div class="js">
<p>The Javascript shown below is used to initialise the table shown in this example:</p><code class="multiline language-js">$(document).ready(function() { <p>The Javascript shown below is used to initialise the table shown in this example:</p><code class="multiline language-js">$(document).ready(function() {
$('#example').dataTable( { $('#example').DataTable( {
&quot;processing&quot;: true, &quot;processing&quot;: true,
&quot;serverSide&quot;: true, &quot;serverSide&quot;: true,
&quot;ajax&quot;: { &quot;ajax&quot;: {

View File

@ -22,7 +22,7 @@
$(document).ready(function() { $(document).ready(function() {
var selected = []; var selected = [];
$("#example").dataTable({ $("#example").DataTable({
"processing": true, "processing": true,
"serverSide": true, "serverSide": true,
"ajax": "scripts/ids-arrays.php", "ajax": "scripts/ids-arrays.php",
@ -102,7 +102,7 @@ $(document).ready(function() {
<p>The Javascript shown below is used to initialise the table shown in this example:</p><code class="multiline language-js">$(document).ready(function() { <p>The Javascript shown below is used to initialise the table shown in this example:</p><code class="multiline language-js">$(document).ready(function() {
var selected = []; var selected = [];
$(&quot;#example&quot;).dataTable({ $(&quot;#example&quot;).DataTable({
&quot;processing&quot;: true, &quot;processing&quot;: true,
&quot;serverSide&quot;: true, &quot;serverSide&quot;: true,
&quot;ajax&quot;: &quot;scripts/ids-arrays.php&quot;, &quot;ajax&quot;: &quot;scripts/ids-arrays.php&quot;,

View File

@ -19,7 +19,7 @@
<script type="text/javascript" language="javascript" class="init"> <script type="text/javascript" language="javascript" class="init">
$(document).ready(function() { $(document).ready(function() {
$('#example').dataTable( { $('#example').DataTable( {
"processing": true, "processing": true,
"serverSide": true, "serverSide": true,
"ajax": "scripts/server_processing.php" "ajax": "scripts/server_processing.php"
@ -82,7 +82,7 @@ $(document).ready(function() {
<div class="tabs"> <div class="tabs">
<div class="js"> <div class="js">
<p>The Javascript shown below is used to initialise the table shown in this example:</p><code class="multiline language-js">$(document).ready(function() { <p>The Javascript shown below is used to initialise the table shown in this example:</p><code class="multiline language-js">$(document).ready(function() {
$('#example').dataTable( { $('#example').DataTable( {
&quot;processing&quot;: true, &quot;processing&quot;: true,
&quot;serverSide&quot;: true, &quot;serverSide&quot;: true,
&quot;ajax&quot;: &quot;scripts/server_processing.php&quot; &quot;ajax&quot;: &quot;scripts/server_processing.php&quot;

View File

@ -21,7 +21,7 @@
<script type="text/javascript" language="javascript" class="init"> <script type="text/javascript" language="javascript" class="init">
$(document).ready(function() { $(document).ready(function() {
$('#example').dataTable(); $('#example').DataTable();
} ); } );
</script> </script>
@ -537,7 +537,7 @@ $(document).ready(function() {
<div class="tabs"> <div class="tabs">
<div class="js"> <div class="js">
<p>The Javascript shown below is used to initialise the table shown in this example:</p><code class="multiline language-js">$(document).ready(function() { <p>The Javascript shown below is used to initialise the table shown in this example:</p><code class="multiline language-js">$(document).ready(function() {
$('#example').dataTable(); $('#example').DataTable();
} );</code> } );</code>
<p>In addition to the above code, the following Javascript library files are loaded for use in this example:</p> <p>In addition to the above code, the following Javascript library files are loaded for use in this example:</p>

View File

@ -19,7 +19,7 @@
<script type="text/javascript" language="javascript" class="init"> <script type="text/javascript" language="javascript" class="init">
$(document).ready(function() { $(document).ready(function() {
$('#example').dataTable(); $('#example').DataTable();
} ); } );
</script> </script>
@ -528,7 +528,7 @@ $(document).ready(function() {
<div class="tabs"> <div class="tabs">
<div class="js"> <div class="js">
<p>The Javascript shown below is used to initialise the table shown in this example:</p><code class="multiline language-js">$(document).ready(function() { <p>The Javascript shown below is used to initialise the table shown in this example:</p><code class="multiline language-js">$(document).ready(function() {
$('#example').dataTable(); $('#example').DataTable();
} );</code> } );</code>
<p>In addition to the above code, the following Javascript library files are loaded for use in this example:</p> <p>In addition to the above code, the following Javascript library files are loaded for use in this example:</p>

View File

@ -19,7 +19,7 @@
<script type="text/javascript" language="javascript" class="init"> <script type="text/javascript" language="javascript" class="init">
$(document).ready(function() { $(document).ready(function() {
$('#example').dataTable(); $('#example').DataTable();
} ); } );
</script> </script>
@ -529,7 +529,7 @@ $(document).ready(function() {
<div class="tabs"> <div class="tabs">
<div class="js"> <div class="js">
<p>The Javascript shown below is used to initialise the table shown in this example:</p><code class="multiline language-js">$(document).ready(function() { <p>The Javascript shown below is used to initialise the table shown in this example:</p><code class="multiline language-js">$(document).ready(function() {
$('#example').dataTable(); $('#example').DataTable();
} );</code> } );</code>
<p>In addition to the above code, the following Javascript library files are loaded for use in this example:</p> <p>In addition to the above code, the following Javascript library files are loaded for use in this example:</p>

View File

@ -19,7 +19,7 @@
<script type="text/javascript" language="javascript" class="init"> <script type="text/javascript" language="javascript" class="init">
$(document).ready(function() { $(document).ready(function() {
$('#example').dataTable(); $('#example').DataTable();
} ); } );
</script> </script>
@ -543,7 +543,7 @@ $(document).ready(function() {
<div class="tabs"> <div class="tabs">
<div class="js"> <div class="js">
<p>The Javascript shown below is used to initialise the table shown in this example:</p><code class="multiline language-js">$(document).ready(function() { <p>The Javascript shown below is used to initialise the table shown in this example:</p><code class="multiline language-js">$(document).ready(function() {
$('#example').dataTable(); $('#example').DataTable();
} );</code> } );</code>
<p>In addition to the above code, the following Javascript library files are loaded for use in this example:</p> <p>In addition to the above code, the following Javascript library files are loaded for use in this example:</p>

View File

@ -21,7 +21,7 @@
<script type="text/javascript" language="javascript" class="init"> <script type="text/javascript" language="javascript" class="init">
$(document).ready(function() { $(document).ready(function() {
$('#example').dataTable( { $('#example').DataTable( {
scrollY: 200, scrollY: 200,
paging: false paging: false
} ); } );
@ -540,7 +540,7 @@ $(document).ready(function() {
<div class="tabs"> <div class="tabs">
<div class="js"> <div class="js">
<p>The Javascript shown below is used to initialise the table shown in this example:</p><code class="multiline language-js">$(document).ready(function() { <p>The Javascript shown below is used to initialise the table shown in this example:</p><code class="multiline language-js">$(document).ready(function() {
$('#example').dataTable( { $('#example').DataTable( {
scrollY: 200, scrollY: 200,
paging: false paging: false
} ); } );

View File

@ -19,7 +19,7 @@
<script type="text/javascript" language="javascript" class="init"> <script type="text/javascript" language="javascript" class="init">
$(document).ready(function() { $(document).ready(function() {
$('#example').dataTable(); $('#example').DataTable();
} ); } );
</script> </script>
@ -529,7 +529,7 @@ $(document).ready(function() {
<div class="tabs"> <div class="tabs">
<div class="js"> <div class="js">
<p>The Javascript shown below is used to initialise the table shown in this example:</p><code class="multiline language-js">$(document).ready(function() { <p>The Javascript shown below is used to initialise the table shown in this example:</p><code class="multiline language-js">$(document).ready(function() {
$('#example').dataTable(); $('#example').DataTable();
} );</code> } );</code>
<p>In addition to the above code, the following Javascript library files are loaded for use in this example:</p> <p>In addition to the above code, the following Javascript library files are loaded for use in this example:</p>

View File

@ -21,7 +21,7 @@
<script type="text/javascript" language="javascript" class="init"> <script type="text/javascript" language="javascript" class="init">
$(document).ready(function() { $(document).ready(function() {
$('#example').dataTable(); $('#example').DataTable();
} ); } );
</script> </script>
@ -540,7 +540,7 @@ $(document).ready(function() {
<div class="tabs"> <div class="tabs">
<div class="js"> <div class="js">
<p>The Javascript shown below is used to initialise the table shown in this example:</p><code class="multiline language-js">$(document).ready(function() { <p>The Javascript shown below is used to initialise the table shown in this example:</p><code class="multiline language-js">$(document).ready(function() {
$('#example').dataTable(); $('#example').DataTable();
} );</code> } );</code>
<p>In addition to the above code, the following Javascript library files are loaded for use in this example:</p> <p>In addition to the above code, the following Javascript library files are loaded for use in this example:</p>

View File

@ -19,7 +19,7 @@
<script type="text/javascript" language="javascript" class="init"> <script type="text/javascript" language="javascript" class="init">
$(document).ready(function() { $(document).ready(function() {
$('#example').dataTable(); $('#example').DataTable();
} ); } );
</script> </script>
@ -528,7 +528,7 @@ $(document).ready(function() {
<div class="tabs"> <div class="tabs">
<div class="js"> <div class="js">
<p>The Javascript shown below is used to initialise the table shown in this example:</p><code class="multiline language-js">$(document).ready(function() { <p>The Javascript shown below is used to initialise the table shown in this example:</p><code class="multiline language-js">$(document).ready(function() {
$('#example').dataTable(); $('#example').DataTable();
} );</code> } );</code>
<p>In addition to the above code, the following Javascript library files are loaded for use in this example:</p> <p>In addition to the above code, the following Javascript library files are loaded for use in this example:</p>

View File

@ -19,7 +19,7 @@
<script type="text/javascript" language="javascript" class="init"> <script type="text/javascript" language="javascript" class="init">
$(document).ready(function() { $(document).ready(function() {
$('#example').dataTable(); $('#example').DataTable();
} ); } );
</script> </script>
@ -529,7 +529,7 @@ $(document).ready(function() {
<div class="tabs"> <div class="tabs">
<div class="js"> <div class="js">
<p>The Javascript shown below is used to initialise the table shown in this example:</p><code class="multiline language-js">$(document).ready(function() { <p>The Javascript shown below is used to initialise the table shown in this example:</p><code class="multiline language-js">$(document).ready(function() {
$('#example').dataTable(); $('#example').DataTable();
} );</code> } );</code>
<p>In addition to the above code, the following Javascript library files are loaded for use in this example:</p> <p>In addition to the above code, the following Javascript library files are loaded for use in this example:</p>

View File

@ -19,7 +19,7 @@
<script type="text/javascript" language="javascript" class="init"> <script type="text/javascript" language="javascript" class="init">
$(document).ready(function() { $(document).ready(function() {
$('#example').dataTable(); $('#example').DataTable();
} ); } );
</script> </script>
@ -528,7 +528,7 @@ $(document).ready(function() {
<div class="tabs"> <div class="tabs">
<div class="js"> <div class="js">
<p>The Javascript shown below is used to initialise the table shown in this example:</p><code class="multiline language-js">$(document).ready(function() { <p>The Javascript shown below is used to initialise the table shown in this example:</p><code class="multiline language-js">$(document).ready(function() {
$('#example').dataTable(); $('#example').DataTable();
} );</code> } );</code>
<p>In addition to the above code, the following Javascript library files are loaded for use in this example:</p> <p>In addition to the above code, the following Javascript library files are loaded for use in this example:</p>

View File

@ -19,7 +19,7 @@
<script type="text/javascript" language="javascript" class="init"> <script type="text/javascript" language="javascript" class="init">
$(document).ready(function() { $(document).ready(function() {
$('#example').dataTable(); $('#example').DataTable();
} ); } );
</script> </script>
@ -528,7 +528,7 @@ $(document).ready(function() {
<div class="tabs"> <div class="tabs">
<div class="js"> <div class="js">
<p>The Javascript shown below is used to initialise the table shown in this example:</p><code class="multiline language-js">$(document).ready(function() { <p>The Javascript shown below is used to initialise the table shown in this example:</p><code class="multiline language-js">$(document).ready(function() {
$('#example').dataTable(); $('#example').DataTable();
} );</code> } );</code>
<p>In addition to the above code, the following Javascript library files are loaded for use in this example:</p> <p>In addition to the above code, the following Javascript library files are loaded for use in this example:</p>