mirror of
https://github.com/devcode-it/openstamanager.git
synced 2025-02-18 12:30:35 +01:00
Fix per importi su export CSV
This commit is contained in:
parent
22e731c280
commit
9cf578b264
@ -90,6 +90,14 @@ function start_datatables() {
|
|||||||
exportOptions: {
|
exportOptions: {
|
||||||
modifier: {
|
modifier: {
|
||||||
selected: true
|
selected: true
|
||||||
|
},
|
||||||
|
format: {
|
||||||
|
body: function (data, row, column, node) {
|
||||||
|
data = $('<p>' + data + '</p>').text();
|
||||||
|
data_edit = data.replace('.', ''); // Rimozione punto delle migliaia
|
||||||
|
|
||||||
|
return data_edit.match(/^[0-9,]+$/) ? data_edit : data;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
Loading…
x
Reference in New Issue
Block a user