Search
10251 results 3411-3420
Forum
- 10th Dec 2015delete without confirmationHi Allan, I have exactly the same need as Olan, but can I use the piece of code you provided within a RESTful Editor interface like: remove: { type: 'DELETE', url: '../php/rest/remove.php?id=_id_' }
- 9th Dec 2015How to get the id of the selected row?Use url : '/employees/_id_',. See the URL parameters section of the ajax documentation. Allan
- 9th Dec 2015Unable to use DataSrc property of ajax object to convert XML to JSONThanks Allan: I had tried that before, no change to the error. Here is what I had tried: "ajax" : { "dataType": "xml", "url": "http://localhost:8080/overview/map/xmldata.txt", "dataSrc" : function(xmlData) { return JSON.stringify(xmlToJson(xmlData)); } },
- 9th Dec 2015Relative path compared to absolute for language fileJust exactly as you have done. DataTables doesn't do any path processing, it will use the string you give it as the Ajax request URL. Allan
- 8th Dec 2015Editor gives error if your database table has no id columnlt;/table> <script> table=$('#b_hareket_table').DataTable( { ajax: { url: "vendor/api/getFromEditorResults.php", type: 'POST' }, columns:
- 7th Dec 2015Getting native json data from apiJdtIndividualColumnFiltererInitializer() }, Ajax = new JqueryAjaxOptions { Url = Url.Action("JdtGetJson"), Type = "POST" }, Columns
- 7th Dec 2015Inline edit : Uncaught TypeError: Cannot read property 'contents' of undefinedinit_DataTable(columns) { table = $(tablename).DataTable( { "ajax": { "url": "./db/datatables/getStaffDeployment.php", "type": "POST", data:
- 4th Dec 2015How to get values from multiple names and insert in database?var table = $('#loc').DataTable( { ajax: { url: "ajax/loc.php", type: "POST" }, processing:
- 3rd Dec 2015Save State: Uncaught TypeError: Cannot read property 'column' of undefinedI've sent you a PM with a link to the URL, thank you!
- 29th Nov 2015issues with Ajax calls to WebAPI 2. Possible JSON format issues?This should do it: $("#data-table").DataTable({ ajax: { url: "http://localhost:55180/api/Person", dataSrc: '' }, columns: [ { data: 'FirstName' }, { data: 'LastName' }, ] }); See also the Ajax section of the manual. Allan