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
6e376188
Commit
6e376188
authored
Aug 17, 2018
by
Billy Larru
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
modificando defaultConfigDatatable
parent
a6b5da91
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
22 additions
and
42 deletions
+22
-42
general.js
src/main/webapp/js/general.js
+22
-42
No files found.
src/main/webapp/js/general.js
View file @
6e376188
...
@@ -170,51 +170,31 @@ let logOut = () => {
...
@@ -170,51 +170,31 @@ let logOut = () => {
function
defaultConfigDataTable
()
{
function
defaultConfigDataTable
()
{
$
.
extend
(
$
.
fn
.
dataTable
.
defaults
,
{
$
.
extend
(
$
.
fn
.
dataTable
.
defaults
,
{
bSort
:
false
,
bFilter
:
false
,
aaSorting
:
[],
ordering
:
false
,
bLengthChange
:
false
,
bInfo
:
true
,
paging
:
true
,
iDisplayLength
:
20
,
bStateSave
:
false
,
autoWidth
:
false
,
autoWidth
:
false
,
searching
:
false
,
lengthChange
:
false
,
responsive
:
true
,
responsive
:
true
,
bSort
:
false
,
stateSave
:
true
,
dom
:
'<"datatable-header"fl><"datatable-scroll"t><"datatable-footer"ip>'
,
language
:
{
language
:
{
"paginate"
:
{
lengthMenu
:
"Mostrar: _MENU_"
,
'first'
:
'First'
,
zeroRecords
:
" No se encontraron resultados"
,
'last'
:
'Last'
,
info
:
" Mostrando del _START_ al _END_ de un total de _TOTAL_ registros"
,
'next'
:
'→'
,
infoEmpty
:
" Mostrando 0 de 0 registros"
,
'previous'
:
'←'
search
:
"Filtrar:"
,
},
loadingRecords
:
"Cargando..."
,
"sProcessing"
:
"Procesando..."
,
processing
:
'<span style="width:100%;"><img src="http://www.snacklocal.com/images/ajaxload.gif"></span>'
,
"sLengthMenu"
:
"Mostrar _MENU_ registros"
,
paginate
:
{
"sZeroRecords"
:
"No se encontraron resultados"
,
first
:
"First"
,
"sEmptyTable"
:
"Ningún dato disponible en esta tabla"
,
last
:
"Last"
,
"sInfo"
:
"Mostrando registros del _START_ al _END_ de un total de _TOTAL_ registros"
,
next
:
"Siguiente"
,
"sInfoEmpty"
:
"Mostrando registros del 0 al 0 de un total de 0 registros"
,
previous
:
"Anterior"
"sInfoFiltered"
:
"(filtrado de un total de _MAX_ registros)"
,
"sInfoPostFix"
:
""
,
"sSearch"
:
"Buscar:"
,
"sUrl"
:
""
,
"sInfoThousands"
:
","
,
"sLoadingRecords"
:
"Cargando..."
,
"oPaginate"
:
{
"sFirst"
:
"Primero"
,
"sLast"
:
"Último"
,
"sNext"
:
"Siguiente"
,
"sPrevious"
:
"Anterior"
},
"oAria"
:
{
"sSortAscending"
:
": Activar para ordenar la columna de manera ascendente"
,
"sSortDescending"
:
": Activar para ordenar la columna de manera descendente"
}
},
drawCallback
:
function
()
{
$
(
this
).
find
(
'tbody tr'
).
slice
(
-
3
).
find
(
'.dropdown, .btn-group'
).
addClass
(
'dropup'
);
},
preDrawCallback
:
function
()
{
$
(
this
).
find
(
'tbody tr'
).
slice
(
-
3
).
find
(
'.dropdown, .btn-group'
).
removeClass
(
'dropup'
);
},
rowCallback
:
function
(
row
,
data
,
index
)
{
if
(
$
(
row
).
hasClass
(
'odd'
))
{
$
(
row
).
css
(
'background-color'
,
'#e8f4f4'
);
}
}
}
}
});
});
...
...
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