Get the enable/disable state of Datatable button
Hi, There are https://datatables.net/reference/api/button().enable() to enable/disable button. But how can I retrieve the enable/disable state of a button? I cannot find it in the api page. Thx William
View ArticleDatatables re-render on Mobile device (phone or tablet) when not in view
We have a strange issue, that can only be reproduced on a mobile or tablet device (it does not happen on a laptop/computer). The datatable we are using is an inline editing datatable that is like excel...
View ArticleAdd disabled columns to colvis buttons
There is an option in colvis (button collection) to filter which columns can be toggled. This is to filter out columns. I would like to show all the columns in the (dropdown) collection, but disable...
View ArticleOrdering issue in building up a table
Hi all, I'm building up a table and with the initial loading of the page my data is loaded using a load_data(); function. (working fine) load_data(); function load_data(var_devicetype, var_location,...
View ArticleAdd a increment for Add and Remove Buttons
I am looking to Add an incremented number to my Add and Remove buttons. So AddBtn_0 is this possible to do with Data Tables? Here is my Code: https://jsfiddle.net/vo5yfnd4/
View ArticleFormat cells before export excel in jquery datatable
I have implemented jquery datatable in my application. But the problem is when I export the excel from datatable , then by default the type of all columns is text/General. Is there any option to change...
View ArticleExport column string as date to xlsx
Hello! I'm using the html5export button to export my datatable data which is supplied via dom to and xslx. This works great except when I open the excel document and try to format the column which...
View Articledatatable width 100% not working
Hello, I am trying to set 100% as width for a default data-table without rows. I set the following settings: < table style="width:100% !important;"> .... var table = $("#alarmTable").DataTable({...
View ArticleEditor parent/child editing in modal.
Hi, Good day. Will try and explain. I have a User and the user can have multiple Settings. But the mjoin wont exactly work as the Settings would need to be added on the fly in the User modal window....
View ArticleEditor: link and edit two tables
Hello, my problem concerns the editor: i am at a loss as to how i can link two tables one to one and edit the individual fields of both tables. I would like to be able to edit the "NoteInternal" and...
View ArticleEditor/DataTables not working with Oracle 11g after upgrade to PHP version 1.7.4
After the upgrade to PHP version 1.7.4, queries from Oracle 11g stops working. I'm getting the following errors (2 times): Warning: Declaration of DataTables\Database\DriverOracleResult::fetch() should...
View ArticlepostSubmit and SubmitSuccess events can block each other
@allan I had used both Editor events "postSubmit" and "submitSuccess" in parallel in one of my rather complex Editor instances. The tasks in the "postSubmit" actually were only executed on successful...
View ArticleWhat is the correct format to export dates with html5 to excel?
These are my dates in datatables (dd/mm/yyyy). Then I export these dates with the excel button. As you can see the dates are in the left side and excel treats them as a general format. Then if I double...
View ArticleEscape to close elements inside modal box of editor.
Open a new editor modal form and then click ex a select2 box and do a search. the search data appears in a dropdown box and common use behavior is to 'escape' out of that seach. This escape however...
View ArticleDataTable re-initialization not working
Hello I've been trying the following methods but none is working. Method 1: $('#table').DataTable({ retrieve: true, destroy: true }) Method 2: if($.fn.dataTable.isDataTable('#table')) {...
View ArticleSend page number through API and get response?
Hi, I need to do pagination using server call. I explain clearly, I have an API which has the page number in it. I need to send the page number every time when I click the next button, so that response...
View ArticleProblem open Excel
Hello I have a problem with open excel, please see the picture, the problem is with title: null buttons: [{ title: null, filename: params.excel_export, extend: 'excel', header: false }] I need hidden...
View Articlelarge table (20k rows) is loading approx. 35 seconds
Hi, I'm happy user of DataTables, but recently I uploaded to my MySQL database significantly more data. I had 400 rows, now I have 20k. I'm using Python/Flask and the page is loading extremely slow....
View ArticleFile uploaded to a field that does not have upload options configured
Hi, I dont understand whats wrong is with my page. Everytime I get "File uploaded to a field that does not have upload options configured" in upload file.
View ArticleCustom sort date column which also includes text
I have a column in my financial data table that primarily shows a date value. However, in some instances it may be necessary to show the word MEMO in that column instead of a date. Is it possible to...
View Article