FixedHeaders (v3.1.6): Any reference to original table?
I have some custom header-level elements that have behavior that I would like to maintain on the fixed header. Does anyone know if the created fixed position table has any reference to the dataTable it...
View ArticleHow to incorporate Datatable in JQuery Onclick Function
I have an li <li id="clientshowall"><a href="#"><span>Show All Clients</span> // This Function retrieves all the Clients from my mysql database. $(function(){...
View ArticleAutomatic selection of an added row
I am a satisfied Editor user in serverside mode and bootstrap4 with pagination. I use tabs for parent / child editing and pagination (see image). I would like a new row added in "Anagrafica" to be...
View ArticleCreating Dynamic Nested Tables
Would it be possible to create something like this picture? I am able to create the main table and the child row but I am at a loss how to create a dynamic number of tables with dynamic data. Atm my...
View ArticleAdding data attributes depending on ajax data
Hello. I want to pass a data to my Datatable with structure like this [{mainValue: 1, additionalValue: 'one'}, {mainValue: 2, additionalValue: 'two'}... and so on] and then in resulting table get a...
View ArticleDatatable only shows one entry
I am building a web app with firestore as its database. Currently, I am retrieving all documents from a collection then injecting those documents into a datatable using an array. The problem is, only...
View ArticleCannot edit row when the primary key is a string contains space
Hi, I have a table that contains 2 columns: +-------------+-----------+ | category | level | +-------------+-----------+ | Cat | 1 | | Cat A | 2 | | Cat B | 1 | | .... | ... |...
View ArticleCall rendered data field in CreatedRow
Hi, i would like to check in CreatedRow if a rendered field is negative number or not so that i color red the font or the cell background. How to refer to the data:null field ? eg. if(data.field1 >...
View ArticleCustomizing the page numbers to show in pagination using jquery datatables
Hi, I am using jquery datatable and I am getting the total no of records. I just can't figure out how to set the value for page numbers. note: I am using custom pagination. Only thing I want to modify...
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 ArticleTranslate hour and minute in time picker
How can we translate "Hour" and "Minute" to other languages in the timepicker?
View ArticleMultiple If Statements within a rowCallback
I'm trying to have more than 1 --------1--------- if(condition){ do this... } else{ else... } --------2--------- if(condition){ do this... } else{ else... } but I get a json format error?
View ArticleCan't we save the dragged columns to its new position ?
Can't we save the dragged columns to its new position even after the user log-in again and if he wants to see the dragged columns ?
View ArticleButtons: rendered html different according to the environment
DT_TypesHoraires = $("#DT_TypesHoraires").DataTable({ dom: 'Bfrtip', buttons: [ 'copyHtml5', { text: 'TSV', extend: 'csvHtml5', fieldSeparator: ';', extension: '.csv', bom: true, attr: { id:...
View ArticleUncaught ReferenceError: KTAppOptions is not defined
Can anyone give me the reason why jqery js is throwing this error "Uncaught ReferenceError: KTAppOptions is not defined"? Below are scripts that is added into code in the same orders. <script...
View ArticleButtons: rendered html different according to the environment
Hello, I'm trying to customize the buttons behaviour in my tables. So far, I try the following markup: DT_TypesHoraires = $("#DT_TypesHoraires").DataTable({ dom: 'Bfrtip', buttons: [ 'copyHtml5', {...
View ArticleSelect2 ad Editor
It would be possible for Editor users to have a complete example to use select2 instead of select especially in edit?. Using select2 instead of edit without modifying php works perfectly but in the...
View Articlei used the destroy function to reload the table and data but the table is not...
function get_all() { $('#tbl-category').dataTable().fnDestroy(); $.ajax({ url : "../php/all_category.php", type : "GET", dataType : "JSON", success:function (data) { $('#tbl-category').dataTable({...
View Article