html - How to give word wrap break word property to a datatable column -
<table id="user"> <thead> <tr class="theader"> <th>order id</th> <th>message</th> <th>date created</th> </tr> </thead> <tbody> </tbody> </table> <script> $("#user").datatable({ "bfilter": false, "bautowidth": false, "bprocessing" : false, "bserverside" : true, "sajaxsource" : "./getorderdetails.cpm" }); </script>
hi friends, here data-table. want implement word-wrap break word property message column long messages out space break. can please tell me how should implement word-wrap break word property column in data-table.
add class in css.
#user tbody td:nth-child(2) { word-wrap:break-word !important; }
Comments
Post a Comment