sistemato ordinamento date (dataTable) nei js
This commit is contained in:
15
public/js/app/rigaProgetti.js
vendored
15
public/js/app/rigaProgetti.js
vendored
@@ -1,12 +1,13 @@
|
||||
$(document).ready(function() {
|
||||
$('#tab_progetti').DataTable({
|
||||
responsive: true,
|
||||
fields: [
|
||||
{
|
||||
label:"Data",
|
||||
type: "datetime"
|
||||
}
|
||||
]
|
||||
"responsive": true,
|
||||
columnDefs: [
|
||||
{
|
||||
target: 0,
|
||||
render: DataTable.render.date(),
|
||||
}
|
||||
],
|
||||
"order": [[0, "desc"]]
|
||||
});
|
||||
});
|
||||
$('#form').click(function() {
|
||||
|
||||
Reference in New Issue
Block a user