Quantcast
Channel: Recent Discussions — DataTables forums
Viewing all articles
Browse latest Browse all 82400

How to update Input field on fixedColumn

$
0
0

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 ?


Viewing all articles
Browse latest Browse all 82400

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>