sScrollX not working

sScrollX not working

MishaKMishaK Posts: 12Questions: 0Answers: 1
edited February 2012 in DataTables 1.9
Hi
when i use "sScrollX": "200", "sScrollY": "200", I get in firebug




and width of table is equal of width parent element

if i manualy change width from 100% TO 200px




all OK!
where my mistake? Thanks

Replies

  • allanallan Posts: 63,692Questions: 1Answers: 10,500 Site admin
    If your table doesn't need to scroll horizontally, then it won't - you can force it to scroll using sScrollXInner - but generally speaking I would recommend against using that parameter.

    If you are still having problems, can you give us a link to your test page please.

    Allan
  • MishaKMishaK Posts: 12Questions: 0Answers: 1
    edited February 2012
    http://live.datatables.net/otokud
    1. at
    we have style="width: 930px;". Why not set this value for
    2. if uncomment only "sScrollY": "200px", we loose width for all columns but Y-scrolling exists
    3. if uncomment only "sScrollX": "400px", nothing happened
    3 if uncomment both sScrollY and sScrollX we have Y-scrool, normal columns width but not X-scrolling

    Thanks
This discussion has been closed.