Abusing DataTables (?)
Abusing DataTables (?)
I hope this spectacular title got your attention! ;-)
I am using DataTables heavily in a current project and when we needed a calendar for a group of ppl, I thought I'll do that with dt as well :-)
The results (anonymized) can be viewed here: http://mbaas.de/dataTables/agenda.htm
Basically it is very nice - the only problem we're having is the scrolling. It would be nice if the headers could be frozen - but when using FixedHeader it nearly kills (or dramatically slows down) IE8/9 (which we unfortunately have to use). So I'm wondering if perhaps there are other ways to achieve this (I still haven't got my head around that ScrollX/ScrollY-stuff, I admit) - or if this is an abuse of dataTables and I should use other controls instead (could anyone recommend appropriate libraries?)....???
Thanks
Michael
I am using DataTables heavily in a current project and when we needed a calendar for a group of ppl, I thought I'll do that with dt as well :-)
The results (anonymized) can be viewed here: http://mbaas.de/dataTables/agenda.htm
Basically it is very nice - the only problem we're having is the scrolling. It would be nice if the headers could be frozen - but when using FixedHeader it nearly kills (or dramatically slows down) IE8/9 (which we unfortunately have to use). So I'm wondering if perhaps there are other ways to achieve this (I still haven't got my head around that ScrollX/ScrollY-stuff, I admit) - or if this is an abuse of dataTables and I should use other controls instead (could anyone recommend appropriate libraries?)....???
Thanks
Michael
This discussion has been closed.
Replies
FixedHeader will be really slow on that table in old IE due to the number of header elements that need to be cloned and sized. That is a painfully slow operation in old IE. The newer versions are better.
scrollX and scrollY should work in this situation I think. Can you got an example page that uses them?
Allan
Allan