Search
18469 results 6331-6340
Forum
- 9th Feb 2019Datatables highlighting does not work with Flask?setupData() { $(document).ready(function () { $('#example').DataTable({ "aaSorting":[], "ajax": { "url":"/get_query_data", "dataSrc":"data", "dataType":"json", "contentType":"application/json"
- 9th Feb 2019Reload table on ajax.reload()But, while I create or update a record, the same is not reflected to be done, however it creates and updates internally. It seems that Ajax is not returning proper json. Couln't figure out how to resolve it. Please help...
- 9th Feb 2019Setting ajax.data dynamically oustide instanceHi @colin Yes, that did the trick. Thanks! "ajax": { "url": '/datos_json', data: function(data) { data.param_dep = $('#seldep').val(); } },
- 8th Feb 2019switch dataDepending on your environment.... One option is to use ajax.reload() in a function that is called every 5 seconds using setTimeout. However this will only work if you are using the ajax option to load your data. Kevin
- 8th Feb 2019Fixed Headerextend: 'colvis', columns: ':not(.noVis)' } ], "ajax": { "url": "/controllername/action name", "type":
- 8th Feb 2019Post rows to serverYou would use jQuery ajax for this using the
- 7th Feb 2019Autocomplete MySql PHPsource: function( request, response ) { $.ajax({ dataType: "json", type: 'POST',
- 7th Feb 2019can i used iTotalRecords in render function?can i use ajax.json() in render function ?? but ... ,{'data':'name', render:function(data,type,row){ if('QNA'=='QNA'){ return ajax.json() <---- error : Uncaught ReferenceError: ajax is not defined }else{ return 'admin' } } }
- 7th Feb 2019why datatables not display data but display loading after get APIHi @abdurahmanrizal13 , You just need to set the ajax.dataSrc to be empty as the data is in the top-level, something like: ajax: { url : "http://cobakki.online/APInsp/public/api/rew_puni/status/1", dataSrc : '' }, Cheers, Colin
- 6th Feb 2019Validation using PHP libraryinfo editor = new $.fn.dataTable.Editor( { ajax: "employee.php", rowId: 'id', "idSrc":