(solved)I need to set dataTables_wrapper width dinamically

(solved)I need to set dataTables_wrapper width dinamically

onicaonica Posts: 6Questions: 6Answers: 0
edited September 2014 in Free community support

Hi i need to set dataTables_wrapper width dinamically, like this $("#dataTables_wrapper").width(200*columns.length+"px");
I placed the code in the fnInitComplete function, but it's not working... console.log($("#dataTables_wrapper").width()); returns null after i set the width. Please help!!! Thank you

This discussion has been closed.