DataTables 1-9-1 with jsf

DataTables 1-9-1 with jsf

varinivarini Posts: 3Questions: 0Answers: 0
edited April 2012 in General
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/

Replies

  • allanallan Posts: 63,810Questions: 1Answers: 10,516 Site admin
    That sounds very odd indeed! Are you able to link us to a test case showing the issue?

    Allan
  • varinivarini Posts: 3Questions: 0Answers: 0
    edited April 2012
    Thx @allan for reading! btw, i edited the first post with some pics

    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]
  • allanallan Posts: 63,810Questions: 1Answers: 10,516 Site admin
    Does this occur for you in all browsers, or just a particular one? There was an issue related to this in 1.9.0 but I thought I had it fixed in 1.9.1.

    Allan
  • varinivarini Posts: 3Questions: 0Answers: 0
    @allan: i see the same problem in chrome, IE and mozilla, didn't check opera. I can leave with relative size on the table, but can u tell me how to do the scroll out side the thead?

    regards.

    btw: nice job with datatables, rly amazing.
This discussion has been closed.