Search
18438 results 6201-6210
Forum
- 29th Mar 2019Unable to Get Exact Match in datatableNo records to display"}, ajax: 'logapi.php?query=query_02', fixedHeader: true, //scrollY:
- 27th Mar 2019Posting Additional Fields To The ServerUse ajax.data to post extra data to the server (example) and then use ajax.reload() to trigger a reload of the Ajax data. Allan
- 27th Mar 2019How to get the value of only the first column of the selected rows?function () { var selectedData = table.rows('.selected').data(); alert(selectedData); var selectedData2d = array2dToJson(selectedData, 'selectedData'); var selectedDataStr = JSON.stringify(selectedData2d); $.ajax({ url: 'test3.php', type: 'post', data: {selectedData: selectedDataStr}, success: function(response){ result = $.parseJSON(response); $('#result_form').html(result.data); } }); }
- 26th Mar 2019Submit selected in PHPwith the data. Use $.ajax or similar to submit
- 26th Mar 2019Paging not showing correct number of pagesWe added this to the end of the ajax call since it wasn't getting set in the initial data set: e.iTotalRecords = e.totalRows; e.iTotalDisplayRecords = e.totalRows; All works as it should now.
- 26th Mar 2019How to get checkbox visibleNot sure but jquery-3.2.1.slim.min.js might not contain jQuery ajax method. You should load jquery and all other JS files only once. Try removing jquery-3.2.1.slim.min.js and move jquery-3.3.1.js to the top. Kevin
- 26th Mar 2019Scroll to new rowthe initial data load. Ajax reload removes the data
- 26th Mar 2019Update _iDisplayStart after server side reload problemadded these in the ajax data option: "ajax": { "type":
- 26th Mar 2019Send a custom parameter from view side to server sidebServerSide": true, "processing": true, "ajax": { url: "/UsuariosEstructurasRolesJSON/GetUsers" }, "columns": [ { data:
- 26th Mar 2019show every column in datasetYou need to use jQuery ajax instead of ajax for dynamic columns. This example shows building the columns from the first row of data from the ajax response. http://live.datatables.net/huyexejo/1/edit Kevin