Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
Asistencia
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Billy Larru
Asistencia
Commits
b7f72228
Commit
b7f72228
authored
6 years ago
by
Billy Larru
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
agregando propiedades adicionales al makeDatatable
parent
1c7ec5c0
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
29 additions
and
1 deletions
+29
-1
general.js
src/main/webapp/js/general.js
+29
-1
No files found.
src/main/webapp/js/general.js
View file @
b7f72228
...
...
@@ -340,6 +340,33 @@ const makeDatatable = (jsonForDatatable = { data: [], columns: [], columnDefs: [
$
(
`#
${
nameDatatable
}
`
).
DataTable
({
data
,
columns
,
columnDefs
columnDefs
,
bSort
:
false
,
bFilter
:
false
,
aaSorting
:
[],
ordering
:
false
,
bLengthChange
:
false
,
bInfo
:
true
,
paging
:
true
,
iDisplayLength
:
20
,
bStateSave
:
false
,
autoWidth
:
false
,
responsive
:
true
,
stateSave
:
true
,
language
:
{
lengthMenu
:
"Mostrar: _MENU_"
,
zeroRecords
:
" No se encontraron resultados"
,
info
:
" Mostrando del _START_ al _END_ de un total de _TOTAL_ registros"
,
infoEmpty
:
" Mostrando 0 de 0 registros"
,
search
:
"Filtrar:"
,
loadingRecords
:
"Cargando..."
,
processing
:
'<span style="width:100%;"><img src="http://www.snacklocal.com/images/ajaxload.gif"></span>'
,
paginate
:
{
first
:
"First"
,
last
:
"Last"
,
next
:
"Siguiente"
,
previous
:
"Anterior"
}
}
});
}
\ No newline at end of file
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment