Search
10333 results 2171-2180
Forum
- 19th Apr 2019columnDefs return url_for with parameter errors 'data' is undefinedThis is one way to resolve the issue: <script> $(document).ready(function() { $('#table_data').dataTable({ "order": [[1, "desc"]], "columnDefs": [{ "targets": 0, "data": "download_link", "render": function (data, type, row, meta) { let url = "{{ url_for('confirmation_page', data='DATA') }}".replace('DATA', data); return '<a href="' + url + '">'+data+'</a>'; } }] })}); </script>
- 16th Apr 2019Download Database File (MVC App)Hi @Greenmoor , Yep, exactly that. Either you have to expose the files so that a URL on the client would be able to access them, or you'll need a server-side script that responds to a GET. Cheers, Colin
- 14th Apr 2019Ajax.reload callback function doesn't wait until xhr completes.I see the same behavior that @grozni describes in that the callback function to reload() seems to receive the previous json results. Too reproduce the example, the ajax url must be sending different data for this to be apparent.
- 14th Apr 2019Enable button on row selectprojTable').dataTable( { processing: true, "ajax": { url: 'http://localhost:3001/v1', type: "Get", dataSrc:
- 12th Apr 2019Prevent Editor from loosing actionable state onComplete?PUTTER ajax: { method: "POST", url: endpoint + "person.cfm", data: function
- 9th Apr 2019Ajax Error with Load Balancerand manually set the URL to one of my
- 9th Apr 2019Dependent field - Cascading lists in Editora"}); //Why "a" ?? $.ajax({ url: ............php', dataType: 'json', success:
- 9th Apr 2019How to search column for string with spacesOct 14". Here's the url of the datatables fiddle.
- 9th Apr 2019Server Side search with multiple strings across multiple columnswith type "POST" !!! ajax: { url: 'actions.php?action=tblRate', type: 'POST' }, pageLength:
- 5th Apr 2019Datatable similar to .NET datagridviewexample').DataTable({ dom: 'Brtip', ajax: { url: $("#base-directory").val() + "Ajax/GetDataTableOptionsData", type: "POST",