mRender and timezone....
hi, I'm calculating the "time since" on a column using mRender, to do so, I added a class to a span, and within a timer I select them and recalculate them. This way I don't refresh all data, but the...
View Articlecollapse / hide column at breakpoints
I have a datatable using the responsive add-on , which works great. One column shows a thumbnail image, but I want to hide this column (only) on small devices. I seem to be able to turn the Responsive...
View ArticleSetformatter doesn`t work with fields from leftjoin
Hi Allan Why it doesn´t work this : $editor = Editor::inst( $db, 'partsdetail', 'pardetid') ->fields(... Field::inst( 'partsdetail.modifiedby' ) ->setFormatter( function($val, $data, $field) {...
View ArticleServer side generated column -> ordering
Hi, is it possible to sort a generated column (not present in db and generated with php) server-side? Thank you
View Articlehorizontal scrollbar
is it easily possible to add a horizontal scrollbar at the top of the table, in addition to the one at the bottom? that would be nice to have if there are many entries
View ArticleIndividual column search with select input: fetch all column aggregated data...
Hi, following this https://datatables.net/examples/api/multi_filter_select.html example with a server-side table, and having this code: this.api().columns('.selectSearch').every( function () { var...
View ArticleResponsive.recalc partially not working on iOS Safari (iPhone)
Hi, I'm working on a website where fancybox opens a new iframe with some bootstrap Tabs, each containing a datatable. I'm using the current function to redraw the table to fit the screen responsively:...
View ArticleDynamic iDisplayLength not working
Hi All! I am trying to make iDislayLength work in a scrollY table with columnar filters as second row below the table header. I face following problems: 1. The columnar filters show up inside the table...
View ArticleGetting values from hidden columns
How Can I get the values from hidden columns? My code is: "columns": [ { "data": null, 'render': function (data, type, full, meta){ return '<input class="check-row" type="checkbox">'; } },...
View Articlecolumns data vs. sInt & sName
Following is an excerpt: If I use data, then data are not shown in the table. But if I changed data to sInt & sName, data are shown in the table. Why is that? $('#example').DataTable( { dom:...
View ArticleIssues with Clearing Columnar filters
Hi! I have created columnar filters in the second row, below the header row as follows: // setup the columnar filters $('#xWMOrderTable thead tr#xWMOrderTableHdrFilter th').not( ":eq(8)").each( //...
View ArticleUsing a view
I am trying to update a view, but receiving this.... {"error":"SQLSTATE[HY000]: General error: 1288 The target table course_descriptors of the UPDATE is not updatable","data":[]}
View Articleits possible to extend button with two options?
its possible to extend button with two options? ex: extend: "edit selectedSingle", { text: "<i class='fa fa-plus'></i>", titleAttr: "Add Key (SHIFT + N)", key: { shiftKey: true, key: 'n' },...
View ArticleBootstrap Integration: form-inline and per-column filters
Hi Allan, With the Bootstrap Integration the form-inline class on sWrapper is a bit annoying when we want filters on columns. Having it on the wrapper prevent from having full-width input on the footer...
View ArticlePrint button output doesn't render images
I am using DataTables to display a table containing two columns each with <img src="data:image/png:base64,YaddaYaddaYadda" height="20" width="200"> images in each row. (These are the kind of...
View ArticleData Table Editor
Hi, I'm experiencing an issue with the DTE that I'm hoping is something silly on my part. The problem is that the editing field does not close initially after submitComplete fires. The field...
View Articlerow selection text
Need help on changing row selected text. ex: " row selected " to "row in use". Thanks.
View ArticleCurrently Selected Item on dropdown only goes to first in list
This shows properly when in table display mode correctly but when you click Edit it switches values to the first item in line? { label: "Account Type:", name: "entitytype", type: "select", def: "0",...
View ArticleWrapping DataTables
Is it a common practice to put DataTables in a wrapper to separate the presentation layer? If so what are the best practices for wrapping DataTables ?
View ArticleDynamic Print Message
Is there a way to get a dynamic print message. I tried: ``` { extend: 'print', message: ' '+message+' ' ```} but the message variable will not pass
View Article