Detail column messing with width
Detail column messing with width
Hi guys,
for my internship I'm making a website. So recently I discovered DataTables and I must say, I love it!
It makes it easier to work with & it looks nice.
So I've stumbled upon a problem; when I work with the row-details part of datatables, my width starts getting all messy. I've copied the code from here: http://www.datatables.net/examples/api/row_details.html
Now when I hide and show a specific column, the table reorganises, and everything seems ok again.
I've added 3 screenshots to clarify myself:
Before, without touching: http://img202.imageshack.us/i/datatablesbefore.png/
After, with hide/show a column: http://img820.imageshack.us/i/datatablesafter.png/
Normal, without the 'detail' column: http://img109.imageshack.us/i/datatablesnormal.png/
Another mention, I haven't defined anything of width, other than the wrapper of 1000px that I'm using to center my view. Any ideas?
Thanks,
for my internship I'm making a website. So recently I discovered DataTables and I must say, I love it!
It makes it easier to work with & it looks nice.
So I've stumbled upon a problem; when I work with the row-details part of datatables, my width starts getting all messy. I've copied the code from here: http://www.datatables.net/examples/api/row_details.html
Now when I hide and show a specific column, the table reorganises, and everything seems ok again.
I've added 3 screenshots to clarify myself:
Before, without touching: http://img202.imageshack.us/i/datatablesbefore.png/
After, with hide/show a column: http://img820.imageshack.us/i/datatablesafter.png/
Normal, without the 'detail' column: http://img109.imageshack.us/i/datatablesnormal.png/
Another mention, I haven't defined anything of width, other than the wrapper of 1000px that I'm using to center my view. Any ideas?
Thanks,
This discussion has been closed.
Replies
[code]"sScrollY": "500px"[/code] was the bugger.