Redraw data table jquery
Hi,How to redraw data table of jquery with new width. Pls find the code below. Need to redraw to 50% 50% width on button click.
Thanks in advance.
Rijesh
var table = $('#example').DataTable( {
scrollY: 300,
scrollX: true,
scrollCollapse: true,
paging: false,
fixedColumns: true,
bFilter: false,
bInfo: false,
bAutoWidth: false ,
aoColumns : [
{ sWidth: '25%' },
{ sWidth: '75%' }
]
} );