Search
18367 results 2881-2890
Forum
- 14th May 2016AJAX Add $get["columns"]["search"]["value"] on a non existing columnIs there a way to add a $get["columns"]["search"]["value"] on a non existing column ? I mean : I want to search in my DB on a field that is not rendered in my dataTable and I don't know how to handle it.
- 3rd May 2016How to span a dynamic Ajax column header to two columns?I'm creating Datatable column header dynamically. However, I need two header rows in the table. First header row needs to display "Information" spanning 2 columns and second header row is as below. Is it possible to achive this? var tableHeaderJson = {"columns": [{"title": "Host Group"}, {"title": "Flavor"}]}
- 27th Apr 2016Individual column searching with ajax loadNot working for me plz help
- 6th Apr 2016How can I implement dataTable ajax load with checkbox filters?I have a lot of checkbox grouped. For example group cities depends on cities table from db, streets depends on street and so . For example the cities group code: <div class="form-group"> <div class="button-group"> <button type="button" class="btn btn-default btn-sm btn-block dropdown-toggle" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false"> Streets <span class="caret pull-right"></span> </button> <ul class="dropdown-menu"> @foreach($streets as $street) <li> <input type="checkbox" class="minimal" id="area-{{ $street->slug }}"> <label for="area-{{ $street->slug }}">{{ $street->name }}</label> </li> @endforeach </ul> </div> </div> And the result: https://i.imgur.com/C2vGt02.png So how can I collect all the filters and join the tables in backend to return the proper results? Also some of the filters are not in the table because the table would be too long. Thank you.
- 4th Mar 2016Bootstrap Popover not working in DataTables with Ajax returned dataI was planning to implement bootstrap popover for DataTables but it is not working as it should be. Sometimes I see popovers on page 1 and not on others. It is not consistent. If I use ajax.load function it is not at all working. Code below: { "bSortable": false, "data": "empId", "render" : function(data,type, full, meta) { //Popover $('.hoverclass').popover().hover(function(e) { e.preventDefault(); }); //estimateId = data; return ''; } Help is appreciated, thanks :)
- 12th Feb 2016using fnserverdata with datatable 1.10 calling multiple ajax requestsplease sggesst
- 8th Feb 2016How to reload datatable with ajax as a source when the input is "cleared"So right now I have this code snippet that fires the search when more than 3 characters are pressed: $(".filter").on("keyup change", function () { //clear global search values if(this.value.length >= 3) { // Call the API search function vendorListTable.search(""); vendorListTable.column($(this).data('columnIndex')).search(this.value).draw(); } // Ensure we clear the search if they backspace far enough if(this.value == "") { vendorListTable.search(""); vendorListTable.search("").draw(); } }); However, when I clear the field either by pressing backspace or cutting the value datatables won't reload. Any ideas as to how this is achieved?
- 22nd Jan 2016datatables without AJAX load only displayed pageHi, I want to use dataTables w/out AJAX.I do it.Unfortunately i have product groups with about 3000 records.The page loads about 5 seconds which is bad.My questions is - is there any way to load only the data for the selected page in order to not load slow.If we click on 4page, to reload the entire page with the content for 4.
- 16th Jan 2016Jquery function is not working when show table from ajax request page$(function () { $("#example1").DataTable(); $('#example2').DataTable({ "paging": true, "lengthChange": true, "searching": true, "ordering": true, "info": true, "autoWidth": false }); });
- 28th Sep 20152 Datatables Ajax source how toHi, I am doing 2 datatables in one page, separated. In first table I have contract directions of one client. And in second table I have the equipment included in the contract. When I select one direction in first table the second table reloads and shows only the equipment of this direction, but I cant do this. The request goes, but parametres not, and returns null array. Any suggestion?? Anyone does it?? Thanks