Vertical scroll

Vertical scroll

jsuaresjsuares Posts: 8Questions: 1Answers: 0
edited October 2011 in General
Just started using this amazing tool. I have a problem with a datatable with a fixed length set using "sScrollY": "450px",
The table is in Hebrew and when there are scroll bars, Chrome displays the titles correctly aligned with the data placing the scrollbar at the right of the table (see http://imgur.com/PDD4l), while IE and FF place the scrollbar to the left of the data, and this way the titles are misaligned (see http://imgur.com/AQIzq).

Also, when there is no scroll (too few records for example because of search filter), the titles are not aligned even in Chrome because the scrollbar is gone - see http://imgur.com/eiaA5 . (I dont mind forcing it to open even if it doesnt need to if this will solve the problem - I just dont know how)

Replies

  • allanallan Posts: 63,534Questions: 1Answers: 10,475 Site admin
    Interesting - I must admit I hadn't considered the scroll bar being on the left of the table. Do you have a link to a working example which shows this? Also, can you confirm if you are using DataTables 1.8.2?

    Thanks,
    Allan
  • jsuaresjsuares Posts: 8Questions: 1Answers: 0
    I am using 1.8.2.

    I don't have a link as it is currently only on a local dev folder. You can recreate it easily by forcing a fixed height using "sScrollY": and adding at the top of the page.

    All right to left languages have vertical scrollbars on the left side of the screen/table/div instead of on the right.
  • jsuaresjsuares Posts: 8Questions: 1Answers: 0
    I suppose could 'trick' the page by designating only the table itself as LTR and writing all the columns backwards - is there a way to put just the table(header+data, but without the top and bottom) inside a div for which I could designate dir=LTR - I need to have the rest of the page including the datatables header and footer remain RTL?
This discussion has been closed.