Limit number of pages in pagination
Is it possible to set the max number of pages displayed in the pagination? It is needed for the case when the actual number of pages is too huge and requesting data for last pages may impact server...
View Articleorderable on a column after data has returned from the server
Hi I have a column which I want users to be able to order. The DT is receiving its data from the server, and that column of data in particular is a virtual field and the database cannot order on it...
View ArticleName of upload file is easy to guess, how to give it a random name?
Hello, I am using the file upload but when I use ID the file is easy to guess. Suppose you do not want everyone to see (or guess) all file names, how could I for example give it a random number or...
View Articlerender link to absolute path
i have a page with a datatable which has a column which renders the data as a link to a file in a (documents) folder, like so... return '<a href="/documents/'+data+'">'+data+'</a>' ; if i...
View ArticleObtain the DT API instance from initComplete.
Is this right? initComplete: function (settings, json) { var self = this.api(); } Or do I need to go from settings? initComplete: function (settings, json) { var table = settings.oInstance.api(); }...
View ArticleCustom Column Picker
When using 1.10.18 with bootstrap 4 and the Buttons: Column visibility button, is it possible to have a custom display of the available columns, or as a last resort style it into multiple columns? When...
View ArticleDataTable not adhearing to destroy attribute
I have a kind of complicated situation where I have to dynamically define the columns array prior to defining the DataTable. I do this via an ajax call that returns both the data I need for the columns...
View ArticleHow to iterate through table.rows() to get both data() _and_ node() information
I have a specific case where I need to run a function against checked boxes in the first column of a table. I figured I'd have an on click function that looped through the table, gathered only checked...
View ArticleSearch and sorting not working with Ajax and Post.
I am having a problem with sorting and searching with DataTables using Ajax and post method. My application accepts column selections from the front-end by the user and passes these values as $-GET to...
View ArticleCDN version
Hello: On page https://datatables.net/download/ version 1.10.19 does not appear I think version 1.10.19 is not compatible with editor version 1.8.1, because I have not managed to use them together...
View ArticleFiltering with buttons for elements
I would like to add filtering to my datatable...with a nice UI, compareable with https://www.datatables.net/reference/option/ - but I'm temporarily blinded or stupid and did not seem to find the right...
View ArticleEDITOR PHP exucuting corrupt SQL where conditions
EDITOR version 1.5.3 (yes it is old, but I am prohibited from upgrading) EDITOR Code: Editor::inst( $db, 'table1' ) ->fields( Field::inst( 'table1.id' ), Field::inst( 'table1.Comments' ),...
View ArticleHow to date sort as date instead of string
I never noticed this until I actually needed to sort by a date. All my dates are in USA format (dd/mm/yyyy) but sort as they are strings. From what I read in various forum answers, I was under the...
View Articlejoin tables with two columns with id and one table -sql
hi i want use join datatables like this >>>> https://editor.datatables.net/examples/simple/join.html but i have two column with diferent site ID and want get site name from sites like...
View ArticleHow to register BUTTON event function dynamic
I want to register button event function by user's perm. I return buttons json config back to front page from server. In some UI,there some mechanism doing so, by finding button and registering your...
View ArticleMaterial design stability
the material design layout is really nice it is a beta version is it safe to use it? I imagine all plugins are not tested at 100% Semantic ui seems similar btw, is it better to use it? I'm feared of...
View ArticleSearch box getting focus without me setting it
I have a DataTable, loading from the server during $(document).ready. The page has a lot of content on it so when the page initally loads, the DataTable is below the bottom of the screen. For some...
View Articlesearch a column on a server back end...
So I added a search text per column on the header.... initComplete: function () { this.api().columns().every( function () { var column = this; if(column.dataSrc()){ //var select =...
View ArticlePrevent automatic ajax call with deferloading but without serverside processing
Just wondering is there a way to prevent an automatic ajax call on the initial load without using serverSide processing? I'm using asp core, and since the library isn't supported, I been replicating...
View ArticleImproper sorting with custom renderer and data-sort
Using DT 1.10.15 with an HTML table containing all data in cells and all other configurations as data attributes. On column 'modified' is used to render dates. The related col header contains a...
View Article