From 68f0124875701b7771b32d5529f00f728b232b4f Mon Sep 17 00:00:00 2001
From: Allan Jardine
Date: Thu, 14 Jun 2018 11:32:06 +0100
Subject: [PATCH] Dev: Add link to blog post for example of Ajax loading child
row data
---
.datatables-commit-sync | 2 +-
examples/api/row_details.html | 3 ++-
media/js/dataTables.bootstrap4.js | 2 +-
media/js/dataTables.bootstrap4.min.js | 6 +++---
4 files changed, 7 insertions(+), 6 deletions(-)
diff --git a/.datatables-commit-sync b/.datatables-commit-sync
index 8e933ba3..1968f4e3 100644
--- a/.datatables-commit-sync
+++ b/.datatables-commit-sync
@@ -1 +1 @@
-57c3dfe77b69c1a2a2207c4ebdb58ce39e19ffd1
+fa763b4d452dc6a42cdb3cf003c236d5229cd7c1
diff --git a/examples/api/row_details.html b/examples/api/row_details.html
index 2a08bcf3..d702c993 100644
--- a/examples/api/row_details.html
+++ b/examples/api/row_details.html
@@ -95,7 +95,8 @@ $(document).ready(function() {
methods to first check if a row is already displayed, and if so hide it (row().child.hide()
), otherwise show it (row().child.show()
). The content of the child row in this example is defined by the format()
function, but you
- would replace that with whatever content you wanted to show, possibly including, for example, an Ajax call to the server to obtain any extra information.
+ would replace that with whatever content you wanted to show, possibly including, for example, an Ajax call to
+ the server to obtain any extra information.
diff --git a/media/js/dataTables.bootstrap4.js b/media/js/dataTables.bootstrap4.js
index f2d2ad58..3229c7c4 100644
--- a/media/js/dataTables.bootstrap4.js
+++ b/media/js/dataTables.bootstrap4.js
@@ -57,7 +57,7 @@ $.extend( true, DataTable.defaults, {
$.extend( DataTable.ext.classes, {
sWrapper: "dataTables_wrapper dt-bootstrap4",
sFilterInput: "form-control form-control-sm",
- sLengthSelect: "custom-select custom-select-sm form-control form-control-sm",
+ sLengthSelect: "form-control form-control-sm",
sProcessing: "dataTables_processing card",
sPageButton: "paginate_button page-item"
} );
diff --git a/media/js/dataTables.bootstrap4.min.js b/media/js/dataTables.bootstrap4.min.js
index 7130d65c..fbd6f53f 100644
--- a/media/js/dataTables.bootstrap4.min.js
+++ b/media/js/dataTables.bootstrap4.min.js
@@ -3,6 +3,6 @@
©2011-2017 SpryMedia Ltd - datatables.net/license
*/
(function(b){"function"===typeof define&&define.amd?define(["jquery","datatables.net"],function(a){return b(a,window,document)}):"object"===typeof exports?module.exports=function(a,d){a||(a=window);if(!d||!d.fn.dataTable)d=require("datatables.net")(a,d).$;return b(d,a,a.document)}:b(jQuery,window,document)})(function(b,a,d,m){var f=b.fn.dataTable;b.extend(!0,f.defaults,{dom:"<'row'<'col-sm-12 col-md-6'l><'col-sm-12 col-md-6'f>><'row'<'col-sm-12'tr>><'row'<'col-sm-12 col-md-5'i><'col-sm-12 col-md-7'p>>",
-renderer:"bootstrap"});b.extend(f.ext.classes,{sWrapper:"dataTables_wrapper dt-bootstrap4",sFilterInput:"form-control form-control-sm",sLengthSelect:"custom-select custom-select-sm form-control form-control-sm",sProcessing:"dataTables_processing card",sPageButton:"paginate_button page-item"});f.ext.renderer.pageButton.bootstrap=function(a,h,r,s,j,n){var o=new f.Api(a),t=a.oClasses,k=a.oLanguage.oPaginate,u=a.oLanguage.oAria.paginate||{},e,g,p=0,q=function(d,f){var l,h,i,c,m=function(a){a.preventDefault();
-!b(a.currentTarget).hasClass("disabled")&&o.page()!=a.data.action&&o.page(a.data.action).draw("page")};l=0;for(h=f.length;l",
-{"class":t.sPageButton+" "+g,id:0===r&&"string"===typeof c?a.sTableId+"_"+c:null}).append(b("",{href:"#","aria-controls":a.sTableId,"aria-label":u[c],"data-dt-idx":p,tabindex:a.iTabIndex,"class":"page-link"}).html(e)).appendTo(d),a.oApi._fnBindAction(i,{action:c},m),p++)}},i;try{i=b(h).find(d.activeElement).data("dt-idx")}catch(v){}q(b(h).empty().html('').children("ul"),s);i!==m&&b(h).find("[data-dt-idx="+i+"]").focus()};return f});
+renderer:"bootstrap"});b.extend(f.ext.classes,{sWrapper:"dataTables_wrapper dt-bootstrap4",sFilterInput:"form-control form-control-sm",sLengthSelect:"form-control form-control-sm",sProcessing:"dataTables_processing card",sPageButton:"paginate_button page-item"});f.ext.renderer.pageButton.bootstrap=function(a,h,r,s,j,n){var o=new f.Api(a),t=a.oClasses,k=a.oLanguage.oPaginate,u=a.oLanguage.oAria.paginate||{},e,g,p=0,q=function(d,f){var l,h,i,c,m=function(a){a.preventDefault();!b(a.currentTarget).hasClass("disabled")&&
+o.page()!=a.data.action&&o.page(a.data.action).draw("page")};l=0;for(h=f.length;l",{"class":t.sPageButton+" "+g,id:0===r&&
+"string"===typeof c?a.sTableId+"_"+c:null}).append(b("",{href:"#","aria-controls":a.sTableId,"aria-label":u[c],"data-dt-idx":p,tabindex:a.iTabIndex,"class":"page-link"}).html(e)).appendTo(d),a.oApi._fnBindAction(i,{action:c},m),p++)}},i;try{i=b(h).find(d.activeElement).data("dt-idx")}catch(v){}q(b(h).empty().html('').children("ul"),s);i!==m&&b(h).find("[data-dt-idx="+i+"]").focus()};return f});