|
|
|
@ -291,7 +291,7 @@
|
|
|
|
|
|
|
|
|
|
datatables.normalizeConfiguration = function (configuration) {
|
|
|
|
|
|
|
|
|
|
configuration.scrollX = true;
|
|
|
|
|
configuration.scrollX = datatables.defaultConfigurations.scrollX;
|
|
|
|
|
|
|
|
|
|
for (var i = 0; i < configuration.columnDefs.length; i++) {
|
|
|
|
|
var column = configuration.columnDefs[i];
|
|
|
|
@ -304,28 +304,16 @@
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
configuration.language = {
|
|
|
|
|
info: localize("PagerInfo"),
|
|
|
|
|
infoFiltered: localize("PagerInfoFiltered"),
|
|
|
|
|
infoEmpty: localize("PagerInfoEmpty"),
|
|
|
|
|
search: localize("PagerSearch"),
|
|
|
|
|
processing: localize("ProcessingWithThreeDot"),
|
|
|
|
|
loadingRecords: localize("LoadingWithThreeDot"),
|
|
|
|
|
lengthMenu: localize("PagerShowMenuEntries"),
|
|
|
|
|
emptyTable: localize("NoDataAvailableInDatatable"),
|
|
|
|
|
paginate: {
|
|
|
|
|
first: localize("PagerFirst"),
|
|
|
|
|
last: localize("PagerLast"),
|
|
|
|
|
previous: localize("PagerPrevious"),
|
|
|
|
|
next: localize("PagerNext")
|
|
|
|
|
}
|
|
|
|
|
};
|
|
|
|
|
configuration.language = datatables.defaultConfigurations.language;
|
|
|
|
|
|
|
|
|
|
configuration.dom = '<"dataTable_filters"f>rt<"row dataTable_footer"<"col-auto"l><"col-auto"i><"col"p>>';
|
|
|
|
|
if(configuration.dom){
|
|
|
|
|
configuration.dom += datatables.defaultConfigurations.dom;
|
|
|
|
|
}else{
|
|
|
|
|
configuration.dom = datatables.defaultConfigurations.dom;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
return configuration;
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
})();
|
|
|
|
|
|
|
|
|
|
/************************************************************************
|
|
|
|
@ -356,4 +344,31 @@
|
|
|
|
|
.toLocaleString(luxon.DateTime.DATETIME_SHORT);
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
/************************************************************************
|
|
|
|
|
* Default Configurations *
|
|
|
|
|
*************************************************************************/
|
|
|
|
|
|
|
|
|
|
datatables.defaultConfigurations = datatables.defaultConfigurations || {};
|
|
|
|
|
|
|
|
|
|
datatables.defaultConfigurations.scrollX = true;
|
|
|
|
|
|
|
|
|
|
datatables.defaultConfigurations.language = {
|
|
|
|
|
info: localize("PagerInfo"),
|
|
|
|
|
infoFiltered: localize("PagerInfoFiltered"),
|
|
|
|
|
infoEmpty: localize("PagerInfoEmpty"),
|
|
|
|
|
search: localize("PagerSearch"),
|
|
|
|
|
processing: localize("ProcessingWithThreeDot"),
|
|
|
|
|
loadingRecords: localize("LoadingWithThreeDot"),
|
|
|
|
|
lengthMenu: localize("PagerShowMenuEntries"),
|
|
|
|
|
emptyTable: localize("NoDataAvailableInDatatable"),
|
|
|
|
|
paginate: {
|
|
|
|
|
first: localize("PagerFirst"),
|
|
|
|
|
last: localize("PagerLast"),
|
|
|
|
|
previous: localize("PagerPrevious"),
|
|
|
|
|
next: localize("PagerNext")
|
|
|
|
|
}
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
datatables.defaultConfigurations.dom = '<"dataTable_filters"f>rt<"row dataTable_footer"<"col-auto"l><"col-auto"i><"col"p>>';
|
|
|
|
|
|
|
|
|
|
})(jQuery);
|