Search
13033 results 3331-3340
Forum
- 23rd Jan 2018Django Ajax Datatable Loses Sort and PaginationYou are really the best!!!!!!!! Thanks for your help. I have it working now and here is the final code: if (data.form_is_valid) { var info = $('#my-table').DataTable().page.info(); var order = $('#my-table').DataTable().order(); $('#ip-table').DataTable().destroy(); $("#my-table tbody").html(data.html_mytable); $("#modal-my").modal("hide"); $('#my-table').DataTable() .page.len( info.length ) .page( info.page ) .order( order[0][0] ) .draw(false); }
- 22nd Jan 2018Datatable pagination does not appear properlyThanks for posting back. The download builder can be useful to make sure you get all the required files in the required order. Allan
- 22nd Jan 2018Bug Responsive 2.2.1 bootstrap 4 in Collapse Componetvar $datatable = $('#datatable-checkbox'); $datatable.dataTable({ 'order': [[ 1, 'asc' ]], 'columnDefs': [ { orderable: false, targets: [0] } ] }); $datatable.on('draw.dt',
- 18th Jan 2018Error when attempting to sort table columnsHi Tim, Thanks! I think this is the issue: "order": 2, The order option takes a 2D array, not just a single integer. If you use: order: [[ 2, 'asc' ]] that should resolve the issue. Allan
- 17th Jan 2018Row reordering after sortingthe rowReorder.dataSrc column. In order for you to use
- 17th Jan 2018Getting column.type via APIpoint) in the same order that DataTables would sort
- 16th Jan 2018Absolute sorting does not workUse the order option to set the default order: https://jsfiddle.net/f73g0swn/1/ . If you want that column to be fixed (i.e. always the primary sorting) then you can use orderFixed. Allan
- 15th Jan 2018how to disable color of class table.dataTable tbody trmyself like this in order to add a different
- 13th Jan 2018Sorting icon sorts the column to the left of ityou want the initial order to be the second
- 12th Jan 2018Building an select input type with data from databaasetable: Field::inst( 'nestor_currencies.currency_name' ), in order to avoid displaying an