Search
43745 results 6911-6920
Forum
- 9th Aug 2015Datatables editor: editing the related table in many to manyjk jsut got it
- 30th Jul 2015Where can I find the example of a database table being updated or adding a new entryYou're right, it seems a much better approach Many thanks Pete
- 29th Jul 2015Customizing table export with TableToolsThanks, Ashbjorn. That does help with the PDF. You are right, didn't really think about it, but the CSV has no formatting associated with it.
- 28th Jul 2015Keyup Combobox doesnt re draw tableIm not great at this, but found a workaround. Created this script: $('#combobox').change(function() { var oTable = $("#live-tracking-table").dataTable(); oTable.fnDraw(); }); Works for the time being, not sure how to make it work properly though! Open to suggestions
- 23rd Jul 2015Same problem as: Table Tools Print View shows "Processing..."After installing jQuery 1.11.4, all tables got the Processing.. overlay with no known way of getting rid of it. Looks like jQuery added a function to handle something in iOS which threw an exception while Datatables initializes the Search box (line 3000 in version 1.10.5). Reverted back to jQuery 1.11.1 and that new problem went away. Noticed I had my tables defaulted to "processing" : true for large tables, but I have only seen the Processing... overlay appear during bugs. So now I know I don't need that setting, turned it off, and now it doesn't appear after using the TableTools Print function. The problem still exists, but the work-around is to disable the "Processing..." overlay, which is the default ("processing" : false).
- 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.