datatable pageoption bug
This commit is contained in:
+1
-1
@@ -938,7 +938,7 @@ Request.JSONF = function(options){//oke
|
|||||||
$('#'+ini.id+'Tabel tbody td.awr').each(function(){
|
$('#'+ini.id+'Tabel tbody td.awr').each(function(){
|
||||||
$(this).attr('title', $(this).html().replace(/<br\s*[\/]?>/gi,'\n').replace(/(<([^>]+)>)/gi,''));
|
$(this).attr('title', $(this).html().replace(/<br\s*[\/]?>/gi,'\n').replace(/(<([^>]+)>)/gi,''));
|
||||||
});
|
});
|
||||||
var api = this.api(), menudiv = $('select[name="divDetailTabel_length"]');
|
var api = this.api(), menudiv = $('select[name="'+ini.id+'Tabel_length"]');
|
||||||
var record = api.page.info().recordsTotal ?? 0, _lmenu = [];
|
var record = api.page.info().recordsTotal ?? 0, _lmenu = [];
|
||||||
$.each([10,25,50], function(key, val){
|
$.each([10,25,50], function(key, val){
|
||||||
if (val > record && 10 < val) return false;
|
if (val > record && 10 < val) return false;
|
||||||
|
|||||||
Reference in New Issue
Block a user