Vertical scrolling
Vertical scrolling
wondris009
Posts: 8Questions: 0Answers: 0
Hi Alan, I'm using your framework and its perfect.
Now my issue, I am trying to use vertical scrolling using:
"bScrollCollapse": true,
"sScrollX": "100%",
"sScrollXInner": "150%"
My problem is that I can have various number of columns. If I have only two their width is very big.
Can you help which properties set in my html table in css (and in which parts - TABLE, TH or TD?) and which in datatables options?
I want have static width(e.g. 150px) of column and have scroll bar only if it is important. For example my table has 800px width and If I have only two columns I want to see no scroll bar. Otherwise If I have 20 columns display scroll bar. There is also need to support IE8 & IE9.
Sorry that I am asking so dummy, but I am not CSS styler and I dont know where to put correct settings to have behaviour I want.
Thanks and regards,
Lukas
Now my issue, I am trying to use vertical scrolling using:
"bScrollCollapse": true,
"sScrollX": "100%",
"sScrollXInner": "150%"
My problem is that I can have various number of columns. If I have only two their width is very big.
Can you help which properties set in my html table in css (and in which parts - TABLE, TH or TD?) and which in datatables options?
I want have static width(e.g. 150px) of column and have scroll bar only if it is important. For example my table has 800px width and If I have only two columns I want to see no scroll bar. Otherwise If I have 20 columns display scroll bar. There is also need to support IE8 & IE9.
Sorry that I am asking so dummy, but I am not CSS styler and I dont know where to put correct settings to have behaviour I want.
Thanks and regards,
Lukas
This discussion has been closed.