sScrollY using percent values
sScrollY using percent values
Well, I have tried searching the forum for an answer to this question, but haven't yet found a conclusive answer.
Should sScrollY using a value of "100%" work? Of course, there is no problem using a fixed value, but the documentation states that "any CSS unit should work". I did come across a workaround where the "sScrollY" value is an expression (which also requires updating on window.resize), but I couldn't get that to work.
I am using 1.9.3, but I have tried this on earlier versions and as far as I can tell it has never worked. My main interest is in having "fixed headers". I know there is the plugin for this, but I have had problems getting this to work correctly in both IE7 and IE8 (there are several threads about this). In my mind, datatables should always have fixed headers (why would you not want that? or at least have that option built-in). Since datatables are constructed out of an actual HTML table, I could understand why this might not be the easiest thing to do, or at least something that might not work on every browser.
Datatables is surely one of the best jQuery plugins around, but I'm puzzled why more people haven't asked about this.
Should sScrollY using a value of "100%" work? Of course, there is no problem using a fixed value, but the documentation states that "any CSS unit should work". I did come across a workaround where the "sScrollY" value is an expression (which also requires updating on window.resize), but I couldn't get that to work.
I am using 1.9.3, but I have tried this on earlier versions and as far as I can tell it has never worked. My main interest is in having "fixed headers". I know there is the plugin for this, but I have had problems getting this to work correctly in both IE7 and IE8 (there are several threads about this). In my mind, datatables should always have fixed headers (why would you not want that? or at least have that option built-in). Since datatables are constructed out of an actual HTML table, I could understand why this might not be the easiest thing to do, or at least something that might not work on every browser.
Datatables is surely one of the best jQuery plugins around, but I'm puzzled why more people haven't asked about this.
This discussion has been closed.
Replies
Allan