Scrolling of 'datacontent'
Scrolling of 'datacontent'
I have tried, unsucessfully, to make the header 'fixed' while scrolling the content of the tbody.
Seems IE doesn't like setting fixed height of the tbody, works ok in opera/chrome/firefox.
Any idea's here??
Maybe a 'workaround' would be to split up the rendring of the dataTable into two tables, one containing the header and one containg the data..
Seems IE doesn't like setting fixed height of the tbody, works ok in opera/chrome/firefox.
Any idea's here??
Maybe a 'workaround' would be to split up the rendring of the dataTable into two tables, one containing the header and one containg the data..
This discussion has been closed.
Replies
There is quite a lot of information about this on the web - just Google for "scrolling tbody". Here is a great example which does the required job: http://www.imaputz.com/cssStuff/bigFourVersion.html .
Although your work around probably would work, it seems a bit unnecessary since what you are trying to achieve can be done in CSS, and it would be semantically incorrect.
Allan
Works in Opera/Firefox/Chrome..
And as 90% of our customers are using IE... :(
Allan
I've tried playing around with getting scolling content within the table using the link suggested:
http://www.imaputz.com/cssStuff/bigFourVersion.html
But this causes real problems with column widths and formatting, is there an example available of scrolling content working with the datatables plugin?
Cheers
Euan