Search
43826 results 7271-7280
Forum
- 18th Dec 2014Fixed column width overlapping tableI'm using dataTables on two different web pages but it's behaving differently on each. One page works fine and as expected, here: http://www.huts.org/cohutsyurts/amenities.php . The other page had the fixed column on the left overlapping and not lining up correctly with the thead and other td's in the row, here: http://www.huts.org/Reservations/Hut_Amenities.php . The second page does have an additional stylesheet but I haven't found any conflicting styles being applied by it yet. I don't expect anyone to debug this obviously, I was just wondering if this is a common problem or one that has a known fix or anything.
- 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.....