Setting column widths with sWidth in iframe
Setting column widths with sWidth in iframe
JKY1988
Posts: 1Questions: 0Answers: 0
Hi, everybody. I'm having trouble setting the column widths in my data table contained within an iframe.
I tried doing it using the sWidth parameter (http://datatables.net/ref#sWidth) but the column widths remain the same.
When I load the table as its own page--outside of an iframe--it seems to work correctly. But when it's in the iframe, it doesn't work. So, I assume the iframe is mucking things up. I have no idea how, though.
I'm pretty new to HTML and CSS and VERY new to JavaScript so it's certainly possible I'm missing an obvious mistake.
I've got an example on this page: http://inewsource.org/data-tables/datatabletest.html.
Thanks for any help anyone can provide.
I tried doing it using the sWidth parameter (http://datatables.net/ref#sWidth) but the column widths remain the same.
When I load the table as its own page--outside of an iframe--it seems to work correctly. But when it's in the iframe, it doesn't work. So, I assume the iframe is mucking things up. I have no idea how, though.
I'm pretty new to HTML and CSS and VERY new to JavaScript so it's certainly possible I'm missing an obvious mistake.
I've got an example on this page: http://inewsource.org/data-tables/datatabletest.html.
Thanks for any help anyone can provide.
This discussion has been closed.