Search
43666 results 6601-6610
Forum
- 28th Feb 2020Why is the data in the table not aligned properly?followed your advice and rewrote the code { className:"position dt-body-center",targets: [11], "render": function ( data, type, row ) { return '<img src="add_my.png">' } }, { className:"position_reduce dt-body-center",targets: [12], "render": function ( data, type, row ) { return '<img src="minus_my.png">' } now everything works as it should thanks for the valuable and quick answer
- 28th Feb 2020Data table load issueThis is a duplicate of this thread, please don't repeat topics. Colin
- 27th Feb 2020i used the destroy function to reload the table and data but the table is not loading please helpThe debugger is useful for showing the initialisation options and the config, but this is a process related question, so we really need to see it in action to be able to understand the issue. Colin
- 6th Feb 2020"No data available in table" server sideCan you change the response from the server to be: {"draw":1,"recordsTotal":57,"recordsFiltered":57,"data":[{"name":"Airi","position":"Satou","office":"Accountant","extn":"Tokyo","start_date":"28th Nov 08","salary":"$162,700"},{"name":"Airi","position":"Satou","office":"Accountant","extn":"Tokyo","start_date":"28th Nov 08","salary":"$162,700"}]} i.e. drop that outer data - that isn't part of DataTables expects. Allan
- 31st Jan 2020Why im getting datatables warning table id=datatables ajax errorFor server side processing, the protocol is discussed here. Also see examples here. I suspect your server isn't sending data back in the expected format. Cheers, Colin
- 29th Jan 2020Can I rotate the table while exporting to excel .ok, some code. You are not doing any customization of the excel export in that code. So this is not quite in line with "i want transpose rows and columns placement." Good luck!
- 26th Jan 2020how to make data table retrieve Last saved data on change for drop down on IE it works on chrome ?Thanks a lot Mr. rf1234 and Mr. Allan
- 24th Jan 2020i have used dataTable() function for getting my table data but it is not working?We're happy to take a look, but as per the forum rules, please link to a test case - a test case that replicates the issue will ensure you'll get a quick and accurate response. 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
- 24th Jan 2020Is it possible to adjust the alignment of the displayed information in columns when the table is iniis this related to your other thread?
- 23rd Jan 2020Why my datatable error when my database table dont have value? heres my codeits okay now guys thank you, i just change the $sale->client_id to $client->id