display differences when table content is loaded from ajax

display differences when table content is loaded from ajax

fredochefredoche Posts: 3Questions: 0Answers: 0
edited January 2013 in General
Hi

I have nearly the same script and content, loaded once as a whole html page, once as a div content from an ajax request. Main difference is ajax involved in second case.

Table content is the same. The way to call datatables on the content is the same.

When content is loaded with the html page, it looks like this :
http://imageshack.us/a/img837/5854/problmedatatableajax.jpg

debug info
http://debug.datatables.net/ojudoy

when content is loaded with ajax and javascript calls (datatables call) are made from the loaded content
http://imageshack.us/a/img545/6392/problmedatatableajax2.jpg

debug info
http://debug.datatables.net/ewulaj

I have display problems on the second and i don't see why. Table does not fill the whole width, the filter block is not well aligned.

Thanks in advance for any idea

Best regards

Fred
This discussion has been closed.