Separar datos inicio

This commit is contained in:
2023-10-11 09:03:44 -03:00
parent e4328d8604
commit 0d558b7980
9 changed files with 327 additions and 119 deletions

View File

@ -71,6 +71,8 @@
)
).append(
$('<td></td>').append(unidad)
).append(
$('<td></td>').append(this.unidad.descripcion.padStart(4, '0'))
).append(
$('<td></td>').append(propietario)
).append(
@ -160,7 +162,23 @@
table.append(thead).append(tbody)
parent.append(table)
this.table = new DataTable(table)
this.table = new DataTable(table, {
order: [
[0, 'asc'],
[2, 'asc']
],
columnDefs: [
{
target: 2,
visible: false,
searchable: false
},
{
target: 1,
orderData: [2]
}
]
})
},
head: () => {
return $('<thead></thead>').append(
@ -168,6 +186,8 @@
$('<th></th>').html('Proyecto')
).append(
$('<th></th>').html('Unidad')
).append(
$('<th></th>').html('Unidad [Sort]')
).append(
$('<th></th>').html('Propietario')
).append(