Colspan Issues
Colspan Issues
christouphh
Posts: 1Questions: 0Answers: 0
Hi,
I'm using the datable 1.9.4 and I'm encountering a problem with width of table.
This post (http://datatables.net/forums/discussion/7740/row-header-issues/p1) is almost the same, but I already used width:100% and it did not solved my problem.
I think the problem is caused by colspan I have a table with "complex header".
If I comment the first line '' of the '' which contain the colspan the table is well resized.
I also check the number of columns with colspan, and I'm good, there 8 columns.
Whatever width I set (100%, 55%) , DataTable transform it into pixel (100px, 55px).
I can fix the problem by changing width manualy thanks to $('#client_list_locations').css('width', '100%');
Here is the link to my debug log : http://debug.datatables.net/ocobuz (Problem located in the last table).
And a screenshot of actual display and expected display : http://imageshack.us/photo/my-images/819/sanstitreoru.png/
Maybe It's just malformed html.
Thank for any help
I'm using the datable 1.9.4 and I'm encountering a problem with width of table.
This post (http://datatables.net/forums/discussion/7740/row-header-issues/p1) is almost the same, but I already used width:100% and it did not solved my problem.
I think the problem is caused by colspan I have a table with "complex header".
If I comment the first line '' of the '' which contain the colspan the table is well resized.
I also check the number of columns with colspan, and I'm good, there 8 columns.
Whatever width I set (100%, 55%) , DataTable transform it into pixel (100px, 55px).
I can fix the problem by changing width manualy thanks to $('#client_list_locations').css('width', '100%');
Here is the link to my debug log : http://debug.datatables.net/ocobuz (Problem located in the last table).
And a screenshot of actual display and expected display : http://imageshack.us/photo/my-images/819/sanstitreoru.png/
Maybe It's just malformed html.
Thank for any help
This discussion has been closed.
Replies
Allan