mirror of
https://github.com/DataTables/DataTables.git
synced 2024-11-28 10: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:
parent
ecf94192ae
commit
781f7fcaef
@ -1 +1 @@
|
||||
bc2b4c87f2b853484b113046e54e59016e795a26
|
||||
d2d0e05d9d169d5a8bfc4031ff6db51b0e58cd3e
|
||||
|
@ -20,7 +20,7 @@
|
||||
|
||||
|
||||
$(document).ready(function() {
|
||||
$('#example').dataTable( {
|
||||
$('#example').DataTable( {
|
||||
"columnDefs": [
|
||||
{
|
||||
// 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="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() {
|
||||
$('#example').dataTable( {
|
||||
$('#example').DataTable( {
|
||||
"columnDefs": [
|
||||
{
|
||||
// The `data` parameter refers to the data for the cell (defined by the
|
||||
|
@ -20,7 +20,7 @@
|
||||
|
||||
|
||||
$(document).ready(function() {
|
||||
$('#example').dataTable( {
|
||||
$('#example').DataTable( {
|
||||
"columnDefs": [ {
|
||||
"visible": false,
|
||||
"targets": -1
|
||||
@ -550,7 +550,7 @@ $(document).ready(function() {
|
||||
<div class="tabs">
|
||||
<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() {
|
||||
$('#example').dataTable( {
|
||||
$('#example').DataTable( {
|
||||
"columnDefs": [ {
|
||||
"visible": false,
|
||||
"targets": -1
|
||||
|
@ -26,7 +26,7 @@ $.extend( $.fn.dataTable.defaults, {
|
||||
|
||||
|
||||
$(document).ready(function() {
|
||||
$('#example').dataTable();
|
||||
$('#example').DataTable();
|
||||
} );
|
||||
|
||||
|
||||
@ -547,7 +547,7 @@ $(document).ready(function() {
|
||||
|
||||
|
||||
$(document).ready(function() {
|
||||
$('#example').dataTable();
|
||||
$('#example').DataTable();
|
||||
} );</code>
|
||||
|
||||
<p>In addition to the above code, the following Javascript library files are loaded for use in this example:</p>
|
||||
|
@ -28,7 +28,7 @@
|
||||
|
||||
|
||||
$(document).ready(function() {
|
||||
$('#example').dataTable( {
|
||||
$('#example').DataTable( {
|
||||
"dom": '<"top"iflp<"clear">>rt<"bottom"iflp<"clear">>'
|
||||
} );
|
||||
} );
|
||||
@ -546,7 +546,7 @@ $(document).ready(function() {
|
||||
<div class="tabs">
|
||||
<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() {
|
||||
$('#example').dataTable( {
|
||||
$('#example').DataTable( {
|
||||
"dom": '<"top"iflp<"clear">>rt<"bottom"iflp<"clear">>'
|
||||
} );
|
||||
} );</code>
|
||||
|
@ -26,7 +26,7 @@
|
||||
|
||||
|
||||
$(document).ready(function() {
|
||||
$('#example').dataTable( {
|
||||
$('#example').DataTable( {
|
||||
"dom": '<"toolbar">frtip'
|
||||
} );
|
||||
|
||||
@ -551,7 +551,7 @@ $(document).ready(function() {
|
||||
<div class="tabs">
|
||||
<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() {
|
||||
$('#example').dataTable( {
|
||||
$('#example').DataTable( {
|
||||
"dom": '<"toolbar">frtip'
|
||||
} );
|
||||
|
||||
|
@ -30,7 +30,7 @@ $(document).ready(function() {
|
||||
.on( 'order.dt', function () { eventFired( 'Order' ); } )
|
||||
.on( 'search.dt', function () { eventFired( 'Search' ); } )
|
||||
.on( 'page.dt', function () { eventFired( 'Page' ); } )
|
||||
.dataTable();
|
||||
.DataTable();
|
||||
} );
|
||||
|
||||
|
||||
@ -562,7 +562,7 @@ $(document).ready(function() {
|
||||
.on( 'order.dt', function () { eventFired( 'Order' ); } )
|
||||
.on( 'search.dt', function () { eventFired( 'Search' ); } )
|
||||
.on( 'page.dt', function () { eventFired( 'Page' ); } )
|
||||
.dataTable();
|
||||
.DataTable();
|
||||
} );</code>
|
||||
|
||||
<p>In addition to the above code, the following Javascript library files are loaded for use in this example:</p>
|
||||
|
@ -20,7 +20,7 @@
|
||||
|
||||
|
||||
$(document).ready(function() {
|
||||
$('#example').dataTable();
|
||||
$('#example').DataTable();
|
||||
|
||||
$('#example tbody').on('click', 'tr', function () {
|
||||
var name = $('td', this).eq(0).text();
|
||||
@ -539,7 +539,7 @@ $(document).ready(function() {
|
||||
<div class="tabs">
|
||||
<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() {
|
||||
$('#example').dataTable();
|
||||
$('#example').DataTable();
|
||||
|
||||
$('#example tbody').on('click', 'tr', function () {
|
||||
var name = $('td', this).eq(0).text();
|
||||
|
@ -22,7 +22,7 @@
|
||||
|
||||
|
||||
$(document).ready(function() {
|
||||
$('#example').dataTable( {
|
||||
$('#example').DataTable( {
|
||||
"footerCallback": function ( row, data, start, end, display ) {
|
||||
var api = this.api(), data;
|
||||
|
||||
@ -511,7 +511,7 @@ $(document).ready(function() {
|
||||
<div class="tabs">
|
||||
<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() {
|
||||
$('#example').dataTable( {
|
||||
$('#example').DataTable( {
|
||||
"footerCallback": function ( row, data, start, end, display ) {
|
||||
var api = this.api(), data;
|
||||
|
||||
|
@ -20,7 +20,7 @@
|
||||
|
||||
|
||||
$(document).ready(function() {
|
||||
$('#example').dataTable( {
|
||||
$('#example').DataTable( {
|
||||
"language": {
|
||||
"url": "//cdn.datatables.net/plug-ins/9dcbecd42ad/i18n/German.json"
|
||||
}
|
||||
@ -539,7 +539,7 @@ $(document).ready(function() {
|
||||
<div class="tabs">
|
||||
<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() {
|
||||
$('#example').dataTable( {
|
||||
$('#example').DataTable( {
|
||||
"language": {
|
||||
"url": "//cdn.datatables.net/plug-ins/9dcbecd42ad/i18n/German.json"
|
||||
}
|
||||
|
@ -20,7 +20,7 @@
|
||||
|
||||
|
||||
$(document).ready(function() {
|
||||
$('#example').dataTable( {
|
||||
$('#example').DataTable( {
|
||||
"lengthMenu": [[10, 25, 50, -1], [10, 25, 50, "All"]]
|
||||
} );
|
||||
} );
|
||||
@ -543,7 +543,7 @@ $(document).ready(function() {
|
||||
<div class="tabs">
|
||||
<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() {
|
||||
$('#example').dataTable( {
|
||||
$('#example').DataTable( {
|
||||
"lengthMenu": [[10, 25, 50, -1], [10, 25, 50, "All"]]
|
||||
} );
|
||||
} );</code>
|
||||
|
@ -25,7 +25,7 @@
|
||||
|
||||
|
||||
$(document).ready(function() {
|
||||
$('#example').dataTable( {
|
||||
$('#example').DataTable( {
|
||||
"createdRow": function ( row, data, index ) {
|
||||
if ( data[5].replace(/[\$,]/g, '') * 1 > 150000 ) {
|
||||
$('td', row).eq(5).addClass('highlight');
|
||||
@ -547,7 +547,7 @@ $(document).ready(function() {
|
||||
<div class="tabs">
|
||||
<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() {
|
||||
$('#example').dataTable( {
|
||||
$('#example').DataTable( {
|
||||
"createdRow": function ( row, data, index ) {
|
||||
if ( data[5].replace(/[\$,]/g, '') * 1 > 150000 ) {
|
||||
$('td', row).eq(5).addClass('highlight');
|
||||
|
@ -20,7 +20,7 @@
|
||||
|
||||
|
||||
$(document).ready(function() {
|
||||
$('#example').dataTable( {
|
||||
$('#example').DataTable( {
|
||||
"aoColumns": [
|
||||
null,
|
||||
null,
|
||||
@ -556,7 +556,7 @@ $(document).ready(function() {
|
||||
<div class="tabs">
|
||||
<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() {
|
||||
$('#example').dataTable( {
|
||||
$('#example').DataTable( {
|
||||
"aoColumns": [
|
||||
null,
|
||||
null,
|
||||
|
@ -19,7 +19,7 @@
|
||||
<script type="text/javascript" language="javascript" class="init">
|
||||
|
||||
$(document).ready(function() {
|
||||
$('#example').dataTable( {
|
||||
$('#example').DataTable( {
|
||||
"ajax": {
|
||||
"url": "data/objects_root_array.txt",
|
||||
"dataSrc": ""
|
||||
@ -98,7 +98,7 @@ $(document).ready(function() {
|
||||
<div class="tabs">
|
||||
<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() {
|
||||
$('#example').dataTable( {
|
||||
$('#example').DataTable( {
|
||||
"ajax": {
|
||||
"url": "data/objects_root_array.txt",
|
||||
"dataSrc": ""
|
||||
|
@ -19,7 +19,7 @@
|
||||
<script type="text/javascript" language="javascript" class="init">
|
||||
|
||||
$(document).ready(function() {
|
||||
$('#example').dataTable( {
|
||||
$('#example').DataTable( {
|
||||
"ajax": {
|
||||
"url": "data/arrays_custom_prop.txt",
|
||||
"dataSrc": "demo"
|
||||
@ -90,7 +90,7 @@ $(document).ready(function() {
|
||||
<div class="tabs">
|
||||
<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() {
|
||||
$('#example').dataTable( {
|
||||
$('#example').DataTable( {
|
||||
"ajax": {
|
||||
"url": "data/arrays_custom_prop.txt",
|
||||
"dataSrc": "demo"
|
||||
|
@ -19,7 +19,7 @@
|
||||
<script type="text/javascript" language="javascript" class="init">
|
||||
|
||||
$(document).ready(function() {
|
||||
$('#example').dataTable( {
|
||||
$('#example').DataTable( {
|
||||
"processing": true,
|
||||
"ajax": "data/objects_deep.txt",
|
||||
"columns": [
|
||||
@ -105,7 +105,7 @@ $(document).ready(function() {
|
||||
<div class="tabs">
|
||||
<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() {
|
||||
$('#example').dataTable( {
|
||||
$('#example').DataTable( {
|
||||
"processing": true,
|
||||
"ajax": "data/objects_deep.txt",
|
||||
"columns": [
|
||||
|
@ -19,7 +19,7 @@
|
||||
<script type="text/javascript" language="javascript" class="init">
|
||||
|
||||
$(document).ready(function() {
|
||||
$('#example').dataTable( {
|
||||
$('#example').DataTable( {
|
||||
"ajax": "data/arrays.txt",
|
||||
"deferRender": true
|
||||
} );
|
||||
@ -82,7 +82,7 @@ $(document).ready(function() {
|
||||
<div class="tabs">
|
||||
<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() {
|
||||
$('#example').dataTable( {
|
||||
$('#example').DataTable( {
|
||||
"ajax": "data/arrays.txt",
|
||||
"deferRender": true
|
||||
} );
|
||||
|
@ -19,7 +19,7 @@
|
||||
<script type="text/javascript" language="javascript" class="init">
|
||||
|
||||
$(document).ready(function() {
|
||||
$('#example').dataTable( {
|
||||
$('#example').DataTable( {
|
||||
"ajax": "data/objects.txt",
|
||||
"columns": [
|
||||
{ "data": "name" },
|
||||
@ -99,7 +99,7 @@ $(document).ready(function() {
|
||||
<div class="tabs">
|
||||
<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() {
|
||||
$('#example').dataTable( {
|
||||
$('#example').DataTable( {
|
||||
"ajax": "data/objects.txt",
|
||||
"columns": [
|
||||
{ "data": "name" },
|
||||
|
@ -19,7 +19,7 @@
|
||||
<script type="text/javascript" language="javascript" class="init">
|
||||
|
||||
$(document).ready(function() {
|
||||
$('#example').dataTable( {
|
||||
$('#example').DataTable( {
|
||||
"ajax": "data/objects_subarrays.txt",
|
||||
"columns": [
|
||||
{ "data": "name[, ]" },
|
||||
@ -115,7 +115,7 @@ $(document).ready(function() {
|
||||
<div class="tabs">
|
||||
<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() {
|
||||
$('#example').dataTable( {
|
||||
$('#example').DataTable( {
|
||||
"ajax": "data/objects_subarrays.txt",
|
||||
"columns": [
|
||||
{ "data": "name[, ]" },
|
||||
|
@ -19,7 +19,7 @@
|
||||
<script type="text/javascript" language="javascript" class="init">
|
||||
|
||||
$(document).ready(function() {
|
||||
$('#example').dataTable( {
|
||||
$('#example').DataTable( {
|
||||
ajax: "data/orthogonal.txt",
|
||||
columns: [
|
||||
{ data: "name" },
|
||||
@ -105,7 +105,7 @@ $(document).ready(function() {
|
||||
<div class="tabs">
|
||||
<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() {
|
||||
$('#example').dataTable( {
|
||||
$('#example').DataTable( {
|
||||
ajax: "data/orthogonal.txt",
|
||||
columns: [
|
||||
{ data: "name" },
|
||||
|
@ -19,7 +19,7 @@
|
||||
<script type="text/javascript" language="javascript" class="init">
|
||||
|
||||
$(document).ready(function() {
|
||||
$('#example').dataTable( {
|
||||
$('#example').DataTable( {
|
||||
"ajax": "data/arrays.txt"
|
||||
} );
|
||||
} );
|
||||
@ -95,7 +95,7 @@ $(document).ready(function() {
|
||||
<div class="tabs">
|
||||
<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() {
|
||||
$('#example').dataTable( {
|
||||
$('#example').DataTable( {
|
||||
"ajax": "data/arrays.txt"
|
||||
} );
|
||||
} );</code>
|
||||
|
@ -20,7 +20,7 @@
|
||||
|
||||
|
||||
$(document).ready(function() {
|
||||
$('#example').dataTable( {
|
||||
$('#example').DataTable( {
|
||||
"initComplete": function () {
|
||||
var api = this.api();
|
||||
api.$('td').click( function () {
|
||||
@ -549,7 +549,7 @@ $(document).ready(function() {
|
||||
<div class="tabs">
|
||||
<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() {
|
||||
$('#example').dataTable( {
|
||||
$('#example').DataTable( {
|
||||
"initComplete": function () {
|
||||
var api = this.api();
|
||||
api.$('td').click( function () {
|
||||
|
@ -36,7 +36,7 @@ function filterColumn ( i ) {
|
||||
}
|
||||
|
||||
$(document).ready(function() {
|
||||
$('#example').dataTable();
|
||||
$('#example').DataTable();
|
||||
|
||||
$('input.global_filter').on( 'keyup click', function () {
|
||||
filterGlobal();
|
||||
@ -638,7 +638,7 @@ function filterColumn ( i ) {
|
||||
}
|
||||
|
||||
$(document).ready(function() {
|
||||
$('#example').dataTable();
|
||||
$('#example').DataTable();
|
||||
|
||||
$('input.global_filter').on( 'keyup click', function () {
|
||||
filterGlobal();
|
||||
|
@ -19,7 +19,7 @@
|
||||
<script type="text/javascript" language="javascript" class="init">
|
||||
|
||||
$(document).ready(function() {
|
||||
$('#example').dataTable( {
|
||||
$('#example').DataTable( {
|
||||
"pagingType": "full_numbers"
|
||||
} );
|
||||
} );
|
||||
@ -552,7 +552,7 @@ $(document).ready(function() {
|
||||
<div class="tabs">
|
||||
<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() {
|
||||
$('#example').dataTable( {
|
||||
$('#example').DataTable( {
|
||||
"pagingType": "full_numbers"
|
||||
} );
|
||||
} );</code>
|
||||
|
@ -19,7 +19,7 @@
|
||||
<script type="text/javascript" language="javascript" class="init">
|
||||
|
||||
$(document).ready(function() {
|
||||
$('#example').dataTable( {
|
||||
$('#example').DataTable( {
|
||||
"language": {
|
||||
"decimal": ",",
|
||||
"thousands": "."
|
||||
@ -547,7 +547,7 @@ $(document).ready(function() {
|
||||
<div class="tabs">
|
||||
<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() {
|
||||
$('#example').dataTable( {
|
||||
$('#example').DataTable( {
|
||||
"language": {
|
||||
"decimal": ",",
|
||||
"thousands": "."
|
||||
|
@ -19,7 +19,7 @@
|
||||
<script type="text/javascript" language="javascript" class="init">
|
||||
|
||||
$(document).ready(function() {
|
||||
$('#example').dataTable();
|
||||
$('#example').DataTable();
|
||||
} );
|
||||
|
||||
</script>
|
||||
@ -539,7 +539,7 @@ $(document).ready(function() {
|
||||
<div class="tabs">
|
||||
<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() {
|
||||
$('#example').dataTable();
|
||||
$('#example').DataTable();
|
||||
} );</code>
|
||||
|
||||
<p>In addition to the above code, the following Javascript library files are loaded for use in this example:</p>
|
||||
|
@ -19,7 +19,7 @@
|
||||
<script type="text/javascript" language="javascript" class="init">
|
||||
|
||||
$(document).ready(function() {
|
||||
$('#example').dataTable( {
|
||||
$('#example').DataTable( {
|
||||
"dom": '<"top"i>rt<"bottom"flp><"clear">'
|
||||
} );
|
||||
} );
|
||||
@ -600,7 +600,7 @@ $(document).ready(function() {
|
||||
<div class="tabs">
|
||||
<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() {
|
||||
$('#example').dataTable( {
|
||||
$('#example').DataTable( {
|
||||
"dom": '<"top"i>rt<"bottom"flp><"clear">'
|
||||
} );
|
||||
} );</code>
|
||||
|
@ -19,7 +19,7 @@
|
||||
<script type="text/javascript" language="javascript" class="init">
|
||||
|
||||
$(document).ready(function() {
|
||||
$('#example').dataTable( {
|
||||
$('#example').DataTable( {
|
||||
"paging": false,
|
||||
"ordering": false,
|
||||
"info": false
|
||||
@ -533,7 +533,7 @@ $(document).ready(function() {
|
||||
<div class="tabs">
|
||||
<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() {
|
||||
$('#example').dataTable( {
|
||||
$('#example').DataTable( {
|
||||
"paging": false,
|
||||
"ordering": false,
|
||||
"info": false
|
||||
|
@ -23,7 +23,7 @@
|
||||
<script type="text/javascript" language="javascript" class="init">
|
||||
|
||||
$(document).ready(function() {
|
||||
$('#example').dataTable();
|
||||
$('#example').DataTable();
|
||||
} );
|
||||
|
||||
</script>
|
||||
@ -537,7 +537,7 @@ $(document).ready(function() {
|
||||
<div class="tabs">
|
||||
<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() {
|
||||
$('#example').dataTable();
|
||||
$('#example').DataTable();
|
||||
} );</code>
|
||||
|
||||
<p>In addition to the above code, the following Javascript library files are loaded for use in this example:</p>
|
||||
|
@ -19,7 +19,7 @@
|
||||
<script type="text/javascript" language="javascript" class="init">
|
||||
|
||||
$(document).ready(function() {
|
||||
$('#example').dataTable( {
|
||||
$('#example').DataTable( {
|
||||
"columnDefs": [
|
||||
{
|
||||
"targets": [ 2 ],
|
||||
@ -550,7 +550,7 @@ $(document).ready(function() {
|
||||
<div class="tabs">
|
||||
<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() {
|
||||
$('#example').dataTable( {
|
||||
$('#example').DataTable( {
|
||||
"columnDefs": [
|
||||
{
|
||||
"targets": [ 2 ],
|
||||
|
@ -19,7 +19,7 @@
|
||||
<script type="text/javascript" language="javascript" class="init">
|
||||
|
||||
$(document).ready(function() {
|
||||
$('#example').dataTable( {
|
||||
$('#example').DataTable( {
|
||||
"language": {
|
||||
"lengthMenu": "Display _MENU_ records per page",
|
||||
"zeroRecords": "Nothing found - sorry",
|
||||
@ -539,7 +539,7 @@ $(document).ready(function() {
|
||||
<div class="tabs">
|
||||
<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() {
|
||||
$('#example').dataTable( {
|
||||
$('#example').DataTable( {
|
||||
"language": {
|
||||
"lengthMenu": "Display _MENU_ records per page",
|
||||
"zeroRecords": "Nothing found - sorry",
|
||||
|
@ -20,7 +20,7 @@
|
||||
|
||||
|
||||
$(document).ready(function() {
|
||||
$('#example').dataTable( {
|
||||
$('#example').DataTable( {
|
||||
columnDefs: [ {
|
||||
targets: [ 0 ],
|
||||
orderData: [ 0, 1 ]
|
||||
@ -486,7 +486,7 @@ $(document).ready(function() {
|
||||
<div class="tabs">
|
||||
<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() {
|
||||
$('#example').dataTable( {
|
||||
$('#example').DataTable( {
|
||||
columnDefs: [ {
|
||||
targets: [ 0 ],
|
||||
orderData: [ 0, 1 ]
|
||||
|
@ -23,7 +23,7 @@
|
||||
<script type="text/javascript" language="javascript" class="init">
|
||||
|
||||
$(document).ready(function() {
|
||||
$('table.display').dataTable();
|
||||
$('table.display').DataTable();
|
||||
} );
|
||||
|
||||
</script>
|
||||
@ -254,7 +254,7 @@ $(document).ready(function() {
|
||||
<div class="tabs">
|
||||
<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() {
|
||||
$('table.display').dataTable();
|
||||
$('table.display').DataTable();
|
||||
} );</code>
|
||||
|
||||
<p>In addition to the above code, the following Javascript library files are loaded for use in this example:</p>
|
||||
|
@ -24,7 +24,7 @@
|
||||
<script type="text/javascript" language="javascript" class="init">
|
||||
|
||||
$(document).ready(function() {
|
||||
$('#example').dataTable( {
|
||||
$('#example').DataTable( {
|
||||
"scrollX": true
|
||||
} );
|
||||
} );
|
||||
@ -704,7 +704,7 @@ $(document).ready(function() {
|
||||
<div class="tabs">
|
||||
<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() {
|
||||
$('#example').dataTable( {
|
||||
$('#example').DataTable( {
|
||||
"scrollX": true
|
||||
} );
|
||||
} );</code>
|
||||
|
@ -24,7 +24,7 @@
|
||||
<script type="text/javascript" language="javascript" class="init">
|
||||
|
||||
$(document).ready(function() {
|
||||
$('#example').dataTable( {
|
||||
$('#example').DataTable( {
|
||||
"scrollY": 200,
|
||||
"scrollX": true
|
||||
} );
|
||||
@ -700,7 +700,7 @@ $(document).ready(function() {
|
||||
<div class="tabs">
|
||||
<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() {
|
||||
$('#example').dataTable( {
|
||||
$('#example').DataTable( {
|
||||
"scrollY": 200,
|
||||
"scrollX": true
|
||||
} );
|
||||
|
@ -19,7 +19,7 @@
|
||||
<script type="text/javascript" language="javascript" class="init">
|
||||
|
||||
$(document).ready(function() {
|
||||
$('#example').dataTable( {
|
||||
$('#example').DataTable( {
|
||||
"scrollY": "200px",
|
||||
"scrollCollapse": true,
|
||||
"paging": false
|
||||
@ -543,7 +543,7 @@ $(document).ready(function() {
|
||||
<div class="tabs">
|
||||
<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() {
|
||||
$('#example').dataTable( {
|
||||
$('#example').DataTable( {
|
||||
"scrollY": "200px",
|
||||
"scrollCollapse": true,
|
||||
"paging": false
|
||||
|
@ -19,7 +19,7 @@
|
||||
<script type="text/javascript" language="javascript" class="init">
|
||||
|
||||
$(document).ready(function() {
|
||||
$('#example').dataTable( {
|
||||
$('#example').DataTable( {
|
||||
stateSave: true
|
||||
} );
|
||||
} );
|
||||
@ -545,7 +545,7 @@ $(document).ready(function() {
|
||||
<div class="tabs">
|
||||
<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() {
|
||||
$('#example').dataTable( {
|
||||
$('#example').DataTable( {
|
||||
stateSave: true
|
||||
} );
|
||||
} );</code>
|
||||
|
@ -19,7 +19,7 @@
|
||||
<script type="text/javascript" language="javascript" class="init">
|
||||
|
||||
$(document).ready(function() {
|
||||
$('#example').dataTable( {
|
||||
$('#example').DataTable( {
|
||||
"order": [[ 3, "desc" ]]
|
||||
} );
|
||||
} );
|
||||
@ -539,7 +539,7 @@ $(document).ready(function() {
|
||||
<div class="tabs">
|
||||
<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() {
|
||||
$('#example').dataTable( {
|
||||
$('#example').DataTable( {
|
||||
"order": [[ 3, "desc" ]]
|
||||
} );
|
||||
} );</code>
|
||||
|
@ -20,7 +20,7 @@
|
||||
|
||||
|
||||
$(document).ready(function() {
|
||||
$('#example').dataTable( {
|
||||
$('#example').DataTable( {
|
||||
"ajax": '../ajax/data/arrays.txt'
|
||||
} );
|
||||
} );
|
||||
@ -82,7 +82,7 @@ $(document).ready(function() {
|
||||
<div class="tabs">
|
||||
<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() {
|
||||
$('#example').dataTable( {
|
||||
$('#example').DataTable( {
|
||||
"ajax": '../ajax/data/arrays.txt'
|
||||
} );
|
||||
} );</code>
|
||||
|
@ -20,7 +20,7 @@
|
||||
|
||||
|
||||
$(document).ready(function() {
|
||||
$('#example').dataTable();
|
||||
$('#example').DataTable();
|
||||
} );
|
||||
|
||||
|
||||
@ -534,7 +534,7 @@ $(document).ready(function() {
|
||||
<div class="tabs">
|
||||
<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() {
|
||||
$('#example').dataTable();
|
||||
$('#example').DataTable();
|
||||
} );</code>
|
||||
|
||||
<p>In addition to the above code, the following Javascript library files are loaded for use in this example:</p>
|
||||
|
@ -82,7 +82,7 @@ var dataSet = [
|
||||
$(document).ready(function() {
|
||||
$('#demo').html( '<table cellpadding="0" cellspacing="0" border="0" class="display" id="example"></table>' );
|
||||
|
||||
$('#example').dataTable( {
|
||||
$('#example').DataTable( {
|
||||
"data": dataSet,
|
||||
"columns": [
|
||||
{ "title": "Engine" },
|
||||
@ -188,7 +188,7 @@ $(document).ready(function() {
|
||||
$(document).ready(function() {
|
||||
$('#demo').html( '<table cellpadding="0" cellspacing="0" border="0" class="display" id="example"></table>' );
|
||||
|
||||
$('#example').dataTable( {
|
||||
$('#example').DataTable( {
|
||||
"data": dataSet,
|
||||
"columns": [
|
||||
{ "title": "Engine" },
|
||||
|
@ -19,7 +19,7 @@
|
||||
<script type="text/javascript" language="javascript" class="init">
|
||||
|
||||
$(document).ready(function() {
|
||||
$('#example').dataTable( {
|
||||
$('#example').DataTable( {
|
||||
"processing": true,
|
||||
"serverSide": true,
|
||||
"ajax": "../server_side/scripts/server_processing.php"
|
||||
@ -83,7 +83,7 @@ $(document).ready(function() {
|
||||
<div class="tabs">
|
||||
<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() {
|
||||
$('#example').dataTable( {
|
||||
$('#example').DataTable( {
|
||||
"processing": true,
|
||||
"serverSide": true,
|
||||
"ajax": "../server_side/scripts/server_processing.php"
|
||||
|
@ -53,7 +53,7 @@ $.fn.dataTable.ext.order['dom-checkbox'] = function ( settings, col )
|
||||
|
||||
/* Initialise the table with the required column ordering data types */
|
||||
$(document).ready(function() {
|
||||
$('#example').dataTable( {
|
||||
$('#example').DataTable( {
|
||||
"columns": [
|
||||
null,
|
||||
{ "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 */
|
||||
$(document).ready(function() {
|
||||
$('#example').dataTable( {
|
||||
$('#example').DataTable( {
|
||||
"columns": [
|
||||
null,
|
||||
{ "orderDataType": "dom-text-numeric" },
|
||||
|
@ -38,7 +38,7 @@ $.fn.dataTable.ext.type.order['salary-grade-pre'] = function ( d ) {
|
||||
|
||||
|
||||
$(document).ready(function() {
|
||||
$('#example').dataTable();
|
||||
$('#example').DataTable();
|
||||
} );
|
||||
|
||||
|
||||
@ -575,7 +575,7 @@ $.fn.dataTable.ext.type.order['salary-grade-pre'] = function ( d ) {
|
||||
|
||||
|
||||
$(document).ready(function() {
|
||||
$('#example').dataTable();
|
||||
$('#example').DataTable();
|
||||
} );</code>
|
||||
|
||||
<p>In addition to the above code, the following Javascript library files are loaded for use in this example:</p>
|
||||
|
@ -29,7 +29,7 @@ $.fn.dataTable.ext.type.order['salary-grade-pre'] = function ( d ) {
|
||||
};
|
||||
|
||||
$(document).ready(function() {
|
||||
$('#example').dataTable( {
|
||||
$('#example').DataTable( {
|
||||
"columnDefs": [ {
|
||||
"type": "salary-grade",
|
||||
"targets": -1
|
||||
@ -564,7 +564,7 @@ $(document).ready(function() {
|
||||
};
|
||||
|
||||
$(document).ready(function() {
|
||||
$('#example').dataTable( {
|
||||
$('#example').DataTable( {
|
||||
"columnDefs": [ {
|
||||
"type": "salary-grade",
|
||||
"targets": -1
|
||||
|
@ -19,7 +19,7 @@
|
||||
<script type="text/javascript" language="javascript" class="init">
|
||||
|
||||
$(document).ready(function() {
|
||||
$('#example').dataTable( {
|
||||
$('#example').DataTable( {
|
||||
"processing": true,
|
||||
"serverSide": true,
|
||||
"ajax": {
|
||||
@ -91,7 +91,7 @@ $(document).ready(function() {
|
||||
<div class="tabs">
|
||||
<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() {
|
||||
$('#example').dataTable( {
|
||||
$('#example').DataTable( {
|
||||
"processing": true,
|
||||
"serverSide": true,
|
||||
"ajax": {
|
||||
|
@ -19,7 +19,7 @@
|
||||
<script type="text/javascript" language="javascript" class="init">
|
||||
|
||||
$(document).ready(function() {
|
||||
$('#example').dataTable( {
|
||||
$('#example').DataTable( {
|
||||
"processing": true,
|
||||
"serverSide": true,
|
||||
"ajax": "scripts/server_processing.php",
|
||||
@ -166,7 +166,7 @@ $(document).ready(function() {
|
||||
<div class="tabs">
|
||||
<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() {
|
||||
$('#example').dataTable( {
|
||||
$('#example').DataTable( {
|
||||
"processing": true,
|
||||
"serverSide": true,
|
||||
"ajax": "scripts/server_processing.php",
|
||||
|
@ -19,7 +19,7 @@
|
||||
<script type="text/javascript" language="javascript" class="init">
|
||||
|
||||
$(document).ready(function() {
|
||||
$('#example').dataTable( {
|
||||
$('#example').DataTable( {
|
||||
"processing": true,
|
||||
"serverSide": true,
|
||||
"ajax": "scripts/ids-objects.php",
|
||||
@ -97,7 +97,7 @@ $(document).ready(function() {
|
||||
<div class="tabs">
|
||||
<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() {
|
||||
$('#example').dataTable( {
|
||||
$('#example').DataTable( {
|
||||
"processing": true,
|
||||
"serverSide": true,
|
||||
"ajax": "scripts/ids-objects.php",
|
||||
|
@ -19,7 +19,7 @@
|
||||
<script type="text/javascript" language="javascript" class="init">
|
||||
|
||||
$(document).ready(function() {
|
||||
$('#example').dataTable( {
|
||||
$('#example').DataTable( {
|
||||
"processing": true,
|
||||
"serverSide": true,
|
||||
"ajax": {
|
||||
@ -87,7 +87,7 @@ $(document).ready(function() {
|
||||
<div class="tabs">
|
||||
<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() {
|
||||
$('#example').dataTable( {
|
||||
$('#example').DataTable( {
|
||||
"processing": true,
|
||||
"serverSide": true,
|
||||
"ajax": {
|
||||
|
@ -19,7 +19,7 @@
|
||||
<script type="text/javascript" language="javascript" class="init">
|
||||
|
||||
$(document).ready(function() {
|
||||
$('#example').dataTable( {
|
||||
$('#example').DataTable( {
|
||||
"processing": true,
|
||||
"serverSide": true,
|
||||
"ajax": "scripts/objects.php",
|
||||
@ -87,7 +87,7 @@ $(document).ready(function() {
|
||||
<div class="tabs">
|
||||
<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() {
|
||||
$('#example').dataTable( {
|
||||
$('#example').DataTable( {
|
||||
"processing": true,
|
||||
"serverSide": true,
|
||||
"ajax": "scripts/objects.php",
|
||||
|
@ -138,7 +138,7 @@ $.fn.dataTable.Api.register( 'clearPipeline()', function () {
|
||||
// DataTables initialisation
|
||||
//
|
||||
$(document).ready(function() {
|
||||
$('#example').dataTable( {
|
||||
$('#example').DataTable( {
|
||||
"processing": true,
|
||||
"serverSide": true,
|
||||
"ajax": $.fn.dataTable.pipeline( {
|
||||
@ -324,7 +324,7 @@ $.fn.dataTable.Api.register( 'clearPipeline()', function () {
|
||||
// DataTables initialisation
|
||||
//
|
||||
$(document).ready(function() {
|
||||
$('#example').dataTable( {
|
||||
$('#example').DataTable( {
|
||||
"processing": true,
|
||||
"serverSide": true,
|
||||
"ajax": $.fn.dataTable.pipeline( {
|
||||
|
@ -20,7 +20,7 @@
|
||||
|
||||
|
||||
$(document).ready(function() {
|
||||
$('#example').dataTable( {
|
||||
$('#example').DataTable( {
|
||||
"processing": true,
|
||||
"serverSide": true,
|
||||
"ajax": {
|
||||
@ -95,7 +95,7 @@ $(document).ready(function() {
|
||||
<div class="tabs">
|
||||
<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() {
|
||||
$('#example').dataTable( {
|
||||
$('#example').DataTable( {
|
||||
"processing": true,
|
||||
"serverSide": true,
|
||||
"ajax": {
|
||||
|
@ -22,7 +22,7 @@
|
||||
$(document).ready(function() {
|
||||
var selected = [];
|
||||
|
||||
$("#example").dataTable({
|
||||
$("#example").DataTable({
|
||||
"processing": true,
|
||||
"serverSide": true,
|
||||
"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() {
|
||||
var selected = [];
|
||||
|
||||
$("#example").dataTable({
|
||||
$("#example").DataTable({
|
||||
"processing": true,
|
||||
"serverSide": true,
|
||||
"ajax": "scripts/ids-arrays.php",
|
||||
|
@ -19,7 +19,7 @@
|
||||
<script type="text/javascript" language="javascript" class="init">
|
||||
|
||||
$(document).ready(function() {
|
||||
$('#example').dataTable( {
|
||||
$('#example').DataTable( {
|
||||
"processing": true,
|
||||
"serverSide": true,
|
||||
"ajax": "scripts/server_processing.php"
|
||||
@ -82,7 +82,7 @@ $(document).ready(function() {
|
||||
<div class="tabs">
|
||||
<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() {
|
||||
$('#example').dataTable( {
|
||||
$('#example').DataTable( {
|
||||
"processing": true,
|
||||
"serverSide": true,
|
||||
"ajax": "scripts/server_processing.php"
|
||||
|
@ -21,7 +21,7 @@
|
||||
<script type="text/javascript" language="javascript" class="init">
|
||||
|
||||
$(document).ready(function() {
|
||||
$('#example').dataTable();
|
||||
$('#example').DataTable();
|
||||
} );
|
||||
|
||||
</script>
|
||||
@ -537,7 +537,7 @@ $(document).ready(function() {
|
||||
<div class="tabs">
|
||||
<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() {
|
||||
$('#example').dataTable();
|
||||
$('#example').DataTable();
|
||||
} );</code>
|
||||
|
||||
<p>In addition to the above code, the following Javascript library files are loaded for use in this example:</p>
|
||||
|
@ -19,7 +19,7 @@
|
||||
<script type="text/javascript" language="javascript" class="init">
|
||||
|
||||
$(document).ready(function() {
|
||||
$('#example').dataTable();
|
||||
$('#example').DataTable();
|
||||
} );
|
||||
|
||||
</script>
|
||||
@ -528,7 +528,7 @@ $(document).ready(function() {
|
||||
<div class="tabs">
|
||||
<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() {
|
||||
$('#example').dataTable();
|
||||
$('#example').DataTable();
|
||||
} );</code>
|
||||
|
||||
<p>In addition to the above code, the following Javascript library files are loaded for use in this example:</p>
|
||||
|
@ -19,7 +19,7 @@
|
||||
<script type="text/javascript" language="javascript" class="init">
|
||||
|
||||
$(document).ready(function() {
|
||||
$('#example').dataTable();
|
||||
$('#example').DataTable();
|
||||
} );
|
||||
|
||||
</script>
|
||||
@ -529,7 +529,7 @@ $(document).ready(function() {
|
||||
<div class="tabs">
|
||||
<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() {
|
||||
$('#example').dataTable();
|
||||
$('#example').DataTable();
|
||||
} );</code>
|
||||
|
||||
<p>In addition to the above code, the following Javascript library files are loaded for use in this example:</p>
|
||||
|
@ -19,7 +19,7 @@
|
||||
<script type="text/javascript" language="javascript" class="init">
|
||||
|
||||
$(document).ready(function() {
|
||||
$('#example').dataTable();
|
||||
$('#example').DataTable();
|
||||
} );
|
||||
|
||||
</script>
|
||||
@ -543,7 +543,7 @@ $(document).ready(function() {
|
||||
<div class="tabs">
|
||||
<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() {
|
||||
$('#example').dataTable();
|
||||
$('#example').DataTable();
|
||||
} );</code>
|
||||
|
||||
<p>In addition to the above code, the following Javascript library files are loaded for use in this example:</p>
|
||||
|
@ -21,7 +21,7 @@
|
||||
<script type="text/javascript" language="javascript" class="init">
|
||||
|
||||
$(document).ready(function() {
|
||||
$('#example').dataTable( {
|
||||
$('#example').DataTable( {
|
||||
scrollY: 200,
|
||||
paging: false
|
||||
} );
|
||||
@ -540,7 +540,7 @@ $(document).ready(function() {
|
||||
<div class="tabs">
|
||||
<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() {
|
||||
$('#example').dataTable( {
|
||||
$('#example').DataTable( {
|
||||
scrollY: 200,
|
||||
paging: false
|
||||
} );
|
||||
|
@ -19,7 +19,7 @@
|
||||
<script type="text/javascript" language="javascript" class="init">
|
||||
|
||||
$(document).ready(function() {
|
||||
$('#example').dataTable();
|
||||
$('#example').DataTable();
|
||||
} );
|
||||
|
||||
</script>
|
||||
@ -529,7 +529,7 @@ $(document).ready(function() {
|
||||
<div class="tabs">
|
||||
<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() {
|
||||
$('#example').dataTable();
|
||||
$('#example').DataTable();
|
||||
} );</code>
|
||||
|
||||
<p>In addition to the above code, the following Javascript library files are loaded for use in this example:</p>
|
||||
|
@ -21,7 +21,7 @@
|
||||
<script type="text/javascript" language="javascript" class="init">
|
||||
|
||||
$(document).ready(function() {
|
||||
$('#example').dataTable();
|
||||
$('#example').DataTable();
|
||||
} );
|
||||
|
||||
</script>
|
||||
@ -540,7 +540,7 @@ $(document).ready(function() {
|
||||
<div class="tabs">
|
||||
<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() {
|
||||
$('#example').dataTable();
|
||||
$('#example').DataTable();
|
||||
} );</code>
|
||||
|
||||
<p>In addition to the above code, the following Javascript library files are loaded for use in this example:</p>
|
||||
|
@ -19,7 +19,7 @@
|
||||
<script type="text/javascript" language="javascript" class="init">
|
||||
|
||||
$(document).ready(function() {
|
||||
$('#example').dataTable();
|
||||
$('#example').DataTable();
|
||||
} );
|
||||
|
||||
</script>
|
||||
@ -528,7 +528,7 @@ $(document).ready(function() {
|
||||
<div class="tabs">
|
||||
<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() {
|
||||
$('#example').dataTable();
|
||||
$('#example').DataTable();
|
||||
} );</code>
|
||||
|
||||
<p>In addition to the above code, the following Javascript library files are loaded for use in this example:</p>
|
||||
|
@ -19,7 +19,7 @@
|
||||
<script type="text/javascript" language="javascript" class="init">
|
||||
|
||||
$(document).ready(function() {
|
||||
$('#example').dataTable();
|
||||
$('#example').DataTable();
|
||||
} );
|
||||
|
||||
</script>
|
||||
@ -529,7 +529,7 @@ $(document).ready(function() {
|
||||
<div class="tabs">
|
||||
<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() {
|
||||
$('#example').dataTable();
|
||||
$('#example').DataTable();
|
||||
} );</code>
|
||||
|
||||
<p>In addition to the above code, the following Javascript library files are loaded for use in this example:</p>
|
||||
|
@ -19,7 +19,7 @@
|
||||
<script type="text/javascript" language="javascript" class="init">
|
||||
|
||||
$(document).ready(function() {
|
||||
$('#example').dataTable();
|
||||
$('#example').DataTable();
|
||||
} );
|
||||
|
||||
</script>
|
||||
@ -528,7 +528,7 @@ $(document).ready(function() {
|
||||
<div class="tabs">
|
||||
<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() {
|
||||
$('#example').dataTable();
|
||||
$('#example').DataTable();
|
||||
} );</code>
|
||||
|
||||
<p>In addition to the above code, the following Javascript library files are loaded for use in this example:</p>
|
||||
|
@ -19,7 +19,7 @@
|
||||
<script type="text/javascript" language="javascript" class="init">
|
||||
|
||||
$(document).ready(function() {
|
||||
$('#example').dataTable();
|
||||
$('#example').DataTable();
|
||||
} );
|
||||
|
||||
</script>
|
||||
@ -528,7 +528,7 @@ $(document).ready(function() {
|
||||
<div class="tabs">
|
||||
<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() {
|
||||
$('#example').dataTable();
|
||||
$('#example').DataTable();
|
||||
} );</code>
|
||||
|
||||
<p>In addition to the above code, the following Javascript library files are loaded for use in this example:</p>
|
||||
|
Loading…
Reference in New Issue
Block a user