Search
18435 results 2711-2720
Forum
- 19th Jul 2018How do send DELETE Ajax Json?You may also need to use ajax.deleteBody. Some HTTP servers don't support a body in a DELETE request, which is why it is disabled by default. Allan
- 13th Jul 2018Ajax request $_GETSorry - I did miss that part, which of course changes the context of the question! The documentation for how to do server-side processing with DataTables is available here. There is a live example available here. Allan
- 11th Jul 2018How to use DataTables to render server side data (not ajax)UPDATE: I modified the jsp, re-arrange the code with table and now I have a nicely layout table <table class="table table-bordered table-hover" id="items-table"> <thead class="green-thead"> <tr> <th>Item Names</th> <th>Departments</th> </tr> </thead> <tbody> <c:if test="${items.length() > 0}"> <c:forEach var="i" begin="0" end="${items.length()-1}"> <c:set var="item" value="${items.getJSONObject(i)}"/> <tr> <td>${item.optString("itemName")}</td> <td>Department: ${item.optString("departmentName")}</td> </tr> </c:forEach> </c:if> </tbody> </table> My page looks fine now, there's no error in the console:
- 28th Jun 2018Error DataTables warning: table id=invoiceTable - Ajax errorHi @arulkumar , As @tangerine said, the error contains a link that will give you some clues. If still no joy, we're happy to take a look, but it would help, as per the forum rules, if you could link to a running test case showing the issue so we can offer some help. Information on how to create a test case (if you aren't able to link to the page you are working on) is available here. Cheers, Colin
- 22nd May 2018Manipulate ajax rendered dataThey would be the same values for all of them, so if the footer uses data[0].element it would be fine. it's okay tho I managed by another mean
- 14th May 2018Ajax with hebrew char send to sql serverHi @inonsha, This is probably a UTF-8 issue. Take a look at this thread here, there's a couple of discussion on things to look at. Hope that helps, Cheers, Colin
- 8th May 2018How to send custom header on next of ajax in datatable?Hi @lekusip , You can send customer variables as in this example here. You could tie this in with event handling to see if the navigation buttons were pressed. Cheers, Colin
- 15th Apr 2018Datatables in Angular 5 - 404 Error when using Ajax and Angular wayHi @Sweety, The file, "data.json", needs to be accessible on your site. Probably the easiest way is to copy from their examples, and keep it inside your top-level directory "data" so it means less changes to your examples. Cheers, Colin
- 6th Apr 2018How to cancel previous AJAX calls in DataTables@plazav : nice, sorry, I missed your original reply, but that looks like a good solution :)
- 2nd Apr 2018Editor Generator Ajax Error (7) + Debug InfoAHH! If it was in a PHP double quoted string (") then it would need to be changed to be single quotes (') to have PHP not try to expand a variable (denoted by the $). Fantastic to hear you've got it sorted out! Allan