DataTables 1-9-1 with jsf
DataTables 1-9-1 with jsf
hi, im facing a problem and i cant figure it out where is the issue. Its my firts time with dataTables.
I have reach-faces and jboss server.
The thing is, when i type a letter on the filter that have no places on the tables, all the columns moves to mi right. and this happens every time i type.
the project have,
demo_table.css
jquery.dataTables.js
jquery.dataTables.min.js
slides.min.jquery.js
jquery.js
any help to point me to the right direction would be appreciated.
if its needed,
[code]
$(document).ready(function() {
$('#example').dataTable( {
"sScrollY": "340px",
"bPaginate": false,
"bFilter": true,
"bInfo": false,
"oLanguage": {
"sSearch": "Buscar en tabla:"
}
} );
} );
[/code]
EDIT:
what i see without size in div : http://imageshack.us/photo/my-images/851/49657101.png/
problem : http://imageshack.us/photo/my-images/42/48967857.png/
what i see with size in div : http://imageshack.us/photo/my-images/809/35798702.png/
problem : http://imageshack.us/photo/my-images/542/64105025.png/
I have reach-faces and jboss server.
The thing is, when i type a letter on the filter that have no places on the tables, all the columns moves to mi right. and this happens every time i type.
the project have,
demo_table.css
jquery.dataTables.js
jquery.dataTables.min.js
slides.min.jquery.js
jquery.js
any help to point me to the right direction would be appreciated.
if its needed,
[code]
$(document).ready(function() {
$('#example').dataTable( {
"sScrollY": "340px",
"bPaginate": false,
"bFilter": true,
"bInfo": false,
"oLanguage": {
"sSearch": "Buscar en tabla:"
}
} );
} );
[/code]
EDIT:
what i see without size in div : http://imageshack.us/photo/my-images/851/49657101.png/
problem : http://imageshack.us/photo/my-images/42/48967857.png/
what i see with size in div : http://imageshack.us/photo/my-images/809/35798702.png/
problem : http://imageshack.us/photo/my-images/542/64105025.png/
This discussion has been closed.
Replies
Allan
This is happening when the div that contains the table haves a relative size. if i try with columns does not move.
other thing, when scroll appears, the thead get smaller. Is it possible to just reduce the size of the rows and not the thead?
[code]
Cod. CCP
Producto
Oferta/Deamanda
Eliminar
Editar
Ver detalle
0000001
Lorem ipsum
Oferta
Eliminar
Editar
Preview
Nuevo producto
[/code]
Allan
regards.
btw: nice job with datatables, rly amazing.