Search
43569 results 7221-7230
Forum
- 15th Dec 2014Data table filterI am using Individual column searching (select inputs). I was wondering is it possible to set filter for specific columns, not all of them? Script I am using: $(document).ready(function() { $('#table').DataTable( { initComplete: function () { var api = this.api(); api.columns().indexes().flatten().each( function ( i ) { var column = api.column( i ); var select = $('<select><option value=""></option></select>') .appendTo( $(column.header()).empty() ) .on( 'change', function () { var val = $.fn.dataTable.util.escapeRegex( $(this).val() ); column .search( val ? '^'+val+'$' : '', true, false ) .draw(); } ); column.data().unique().sort().each( function ( d, j ) { select.append( '<option value="'+d+'">'+d+'</option>' ) } ); } ); } } ); } );
- 9th Dec 2014How style data table dropdown arrow ?I have tried to overide the default dropdown arrow of datatable with CSS. However, javascript override the css.
- 9th Dec 2014DataTables warning (table id = 'insrecord'): Added data (size 4) does not match known number of coluSomebody please look into this . Its driving me nuts http://stackoverflow.com/questions/27381226/datatables-warning-table-id-insrecord-added-data-size-4-does-not-match
- 19th Nov 2014Data table sorting issue in Firefox with the date format M-d-yyyyHi, I am using the plugin code at https://datatables.net/plug-ins/sorting/date-de In our application we support all different date formats. I have modified the date-de.js to meet our requirements. But For the date format "M-d-yyyy", the data is not getting sorted correctly in firefox. But it is sorting correctly in internet Explorer and chrome. Can you please look into this and let me know if you need more information. Sample test data: Below is the order of the dates which I am getting in firefox. 9-29-2014 11-7-2014 10-30-2014 Where as in Internet Explorer and Chrome the correct order is getting displayed: 11-7-2014 10-30-2014 9-29-2014 I am testing in 1)InternetExplorer Version 8.0.7601.17514 2)Chrome 10-30-2014 Version 38.0.2125.111 m 3)And Firefox 24.8.1 ESR and FireFox 30.0--->In both these versions the sorting is not working fine, More information: I have changed the above "date-de.js" to handle the "-" in the date as follows: else if (a.indexOf('-') > 0) { var deDatea = $.trim(a).split('-'); if (deDatea[1].length == 1) { deDatea[1] = 0 + deDatea[1]; } if (deDatea[2].length == 1) { deDatea[2] = 0 + deDatea[2]; } x = (deDatea[2] + deDatea[1] + deDatea[0]) * 1; } The problem is I am getting the dates getting compared and sorted correctly within the modified version of the https://datatables.net/plug-ins/sorting/date-de, seems the firefox is overriding the final result. Can you please look into this issue with FireFox? Please let me know if you need more information. Thanks, Siddi Khadar.
- 12th Nov 2014reload table sourceHello, Allan. I have pages like that http://musiclib.org/artist/Radiohead They use last version of datatables and it is use "sAjaxSource": "/Music/ReturnTrackTable" but somethimes that request fails and doesnt return any data. How I can handle error? I want show some button when customer click on it then code try reload the sAjaxSource. Thanks! Duke
- 2nd Nov 2014Urgent: About rows in the tableHello there: I have Datatable and I created some rows after page load so how I keep this rows exist after refresh the page. I tried to use sessionStorage but it does not work
- 1st Nov 2014Table rows contain form inputs - How to include inputs not visibleSo the Datatables I have setup only show 10 rows at a time, they have the NEXT and PREVIOUS buttons, and each row contains a checkbox input, however, when I check something on a row, then click the NEXT or PREVIOUS, then click submit, the value of the checkbox wont be submitted. Is there a way to have it submit all the checked values? Even if they arent shown? Im guessing it has something to do with the elements no longer being inside the DOM?
- 22nd Oct 2014is there a possbile way using columnfilter plugin to filter more than one tableHi I have 2 tables I want to use the same column filters inputs is it possible using the column filter plugin ?
- 13th Oct 2014initially i ll show ten entries in data table on button click preview the show all the rows but itbut it is showing 11 th row onwords undifined.........plz help me alan.....
- 13th Oct 2014Table example doesn't workI Downloaded an example from: http://datatables.net/download/download DataTables-1.10.3 I tried to test the example to export data into file, the example is here /DataTables-1.10.3\extensions\TableTools\examples All its ok, but the button to export doesn't work, just print button. I don't know what is wrong, is the original example, and I tried to do other examples, its the same, the buttons doesn't work. Someone has a functional example. Please!!!!!!!