Created
October 16, 2014 14:35
-
-
Save Klerith/352ae30e33c1bf874d9e to your computer and use it in GitHub Desktop.
DataTable: Agregar, Limpiar y Agregar
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
// Crear referencia al DataTable | |
Tabla = $('#tblResultados').DataTable(); | |
// Limpiar Tabla | |
Tabla.fnClearTable(); | |
// Agregar un row | |
Tabla.fnAddData( [ | |
'<span class="red">' + rivm + "</span>", | |
identidad, | |
'<strong class="label label-info">' + nombres + "</strong>", | |
lugar, | |
fechasolicitud, | |
causa, | |
'button' | |
] ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment