I am facing a challenge with multiple datatables using the jQuery plugin on my page. Some of the datatables fit perfectly within the page width, while others extend beyond the page boundaries. Despite trying various methods, including setting styles in HTML and using the following function within datatables:
fnInitComplete : function() {
$("#tableid").css("width","100%");
}
I have been unsuccessful in properly adjusting the datatable widths and am unsure of how to proceed.