Update 2025-03-16: datatable sort by kode, etc.
This commit is contained in:
@@ -1098,6 +1098,12 @@ if (jQuery.fn.dataTable) {
|
||||
return (_val==0) ? Number.MAX_SAFE_INTEGER : _val;
|
||||
});
|
||||
}
|
||||
jQuery.fn.dataTable.ext.order['dom-nomen'] = function( settings, col ){
|
||||
return this.api().column( col, {order:'index'} ).nodes().map( function( td, i ){
|
||||
var val = $(td).text().trim();
|
||||
return val.replace('X.XX', '0.00');
|
||||
});
|
||||
}
|
||||
jQuery.extend(jQuery.fn.dataTable.ext.classes, {
|
||||
sLengthSelect: "form-select text-center",
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user