Last active
April 30, 2019 21:07
-
-
Save gaalha/8de21e2d89045fd8189a045e15c8484d to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Convertir todo la data de una tabla en un array | |
table.data().toArray(); | |
// OBETENER UNA COLUMNA EN ESPECIFICO COMO ARRAY | |
var ids = table.column(0).data().toArray(); | |
// Boolean, si la tabla especificada es dt o no. | |
$.fn.DataTable.isDataTable('#table_permission_days'); | |
// Integer Para saber si la tabla esta vacía | |
(table.data().length !== 0); | |
// para remover la barra de busqueda, paginación y totales. | |
$('table').dataTable({searching: false, paging: false, info: false}); | |
tablePaysheetEmployee.row.add(data.data).draw(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment