Search
43827 results 6921-6930
Forum
- 22nd Jul 2015Redraw table on submit form with ajax.Ok. I'm embarassed. It's simple like fking ;) $('form').submit(function (e){ e.preventDefault(); $.ajax({ type: 'POST', url: 'editor.php', contentType: "charset=utf-8", data: new FormData(this), processData: false, }).done(function(data){ dataTable.draw() // <-- !! }).fail(function() { alert( "Fail." ); }); $('.editor').hide() return false; })
- 21st Jul 2015[solved]the pageDT will be fired 'before' the table has been redrawn: How to do 'after'?Got it. I'm using draw|dt here is my final code (for lazy loading images beyond the first page) $('#result_panden').on( 'draw.dt', function () { var x = $(".images"); x.each(function( index ) { $( this ).attr({ src: $( this ).attr('data-src') }).removeAttr('data-src') }); } ); Essentially it copies the url from data-src to src and then removes data-src
- 21st Jul 2015Move TableTools buttons outside table DIV.Nevermind, I figured this out using "new" API.
- 15th Jul 2015DataTable - Edit row tableThere is no prebuilt example software that will do exactly what you describe. Editor adds editing abilities to DataTables, but its inline editing is currently restricted to a single cell at a time. Allan
- 10th Jul 2015Export excel from table tools not showing in IE but working with chromeThank you so much Allan.Best luck.
- 9th Jul 2015Bug: Show Entries does not refresh the table rows and paginationWhen I updated my Datatables version from 1.9.x to 1.10.2, the problem disappeared.
- 5th Jul 2015Table header not centeredHi, Yes. I was referring to the row with the bolded texts. I tried <thead style="text-align:center"> and also <th style="text-align:center"> for all the header cell but nothing changes....
- 2nd Jul 2015I want a table to populate with certain rows supressedI would suggest using a column search - column().search() for example. Use a regular expression to make it search for not Hidden. Allan
- 29th Jun 2015Date Sorting issue: saved db field as YYYY-MM-DD; need table display and sort as DD-MM-YYYYYeah! So simple... thank you!
- 19th Jun 2015How can I add an sPDFMessage like functionality to my export in Excel/CSV Table Tool Buttons ?There is no option to do this at the moment as the title and message wouldn't really make any sense in the CSV file structure (i.e. they would invalidate the CSV rows, since they are not themselves in the same structure as the rest of the file). Allan