fixing datatable issues

merge-requests/7/head
kamidu 8 years ago
parent 3e061f6e8b
commit 7480ccaa15

@ -61,14 +61,6 @@ $.fn.datatables_extended_serverside_paging = function (settings, url, dataFilter
ordering: false, ordering: false,
filter: false, filter: false,
bSortCellsTop: true, bSortCellsTop: true,
fnInitComplete: function(){
//loading tooltips
if (typeof $.fn.tooltip == 'function') {
$('[data-toggle="tooltip"]').tooltip();
} else {
console.warn('Warning : Dependency missing - Bootstrap Tooltip Library');
}
},
ajax: { ajax: {
url: context + "/api/data-tables/invoker", url: context + "/api/data-tables/invoker",
data: function (params) { data: function (params) {
@ -111,6 +103,14 @@ $.fn.datatables_extended_serverside_paging = function (settings, url, dataFilter
fnCreatedRow: fnCreatedRow, fnCreatedRow: fnCreatedRow,
"fnDrawCallback": fnDrawCallback, "fnDrawCallback": fnDrawCallback,
initComplete: function () { initComplete: function () {
//loading tooltips
if (typeof $.fn.tooltip == 'function') {
$('[data-toggle="tooltip"]').tooltip();
} else {
console.warn('Warning : Dependency missing - Bootstrap Tooltip Library');
}
this.api().columns().every(function () { this.api().columns().every(function () {
var column = this; var column = this;

Loading…
Cancel
Save