I have a html table which is loaded with data from server side. The table is then converted to Datatable using following script
$('#myTable').DataTable({
scrollY: "300px",
scrollX: true,
scrollCollapse: true,
paging: false,
fixedColumns: true,
fixedColumns: {
leftColumns: 1,
},
fixedHeaders: {
header: true
}
});
The first column of the table is an Autocomplete text box. When I select the value from the autocomplete the value is not reflected on the fixed column. I have used following code to update the column but didn't worked.
$.fn.dataTable
.tables({ visible: true, api: true })
.columns.adjust()
.fixedColumns().relayout();
OR
$("#myTable").DataTable().fixedColumns().update()
Is there am missing some thing ?