export excel, add a new column
hello ^----^. this is excelHtml5. Run the code below and it will look like the picture. extend: "excelHtml5", customize: function ( xlsx ) { var sheet = xlsx.xl.worksheets['sheet1.xml']; $('c[r*="A"]...
View ArticleCurrency Validation
I've loooked around but don't see a validator that validates currency when a person enters data in the field. I see a couple options for formatting a number in table view with a $, but not input...
View ArticlefixedHeader Auto offset bug
Go into this example: https://datatables.net/extensions/fixedheader/examples/options/offset-automatic.html go into the html of the bar and change it to this: <div class="fh-fixedHeader"...
View ArticleExcel export throwing error in MS excel
buttons: [ { extend: 'excelHtml5', title: '', customize: function( xlsx ) { var sheet = xlsx.xl.worksheets['sheet1.xml']; $('row c', sheet).each( function () { if ( $('is t',...
View ArticleFeature request: Allow successCallback data of ajax not to be merged with...
Hello, currently, if you have set drawType === 'none', you need to manually pass new or updated row data to successCallback as a result of ajax request to make the table row update itself with the new...
View ArticleUse 'Index Column' and 'Column Filters' features together
I am new to web development. Can someone tell me how to use following features together? I tried to do it but only one feature got worked for me....
View Articlewhen the table after the event xhr completes the creation of all elements DOM?
the fact is that in my table one column contains elements input.which I need to access after downloading data from the server. however, when trying to access immediately after the event xhr I fail...
View ArticleNode.js datatables editor - Custom/Unique validation for multiple columns
The Validator.dbUnique() let's me validate a value prior to insert if the value is unique in that column. Ref. https://editor.datatables.net/manual/nodejs/validation new Field( 'groups.name' ) new...
View ArticleHow can i change my buttons color please help me :(
var dStudALl = $('#deanstudundr').DataTable( { responsive: true,}); new $.fn.dataTable.Buttons( dStudALl, { buttons: [{ extend: 'pdfHtml5', className: "btn-sm btn-primary btn-rounded", text: 'PDF', },...
View ArticleSlow data extraction
I have a table of 2500 records and 40 columns which I elaborate in this way: bStateSave: true, deferRender: true, bProcessing:true, sAjaxSource: "php/myfile.php", fnServerParams: function ( aoData ) {...
View ArticleUpdate table on Ajax Request
Hi there, This is my first time working with Datatables (using c# mvc in the back end), and the functionality I'm trying to create is the following: 20 rows are sent from the server to the datatable on...
View ArticleDataTables Client Side Does Not Refresh After Updating Row
I im using DataTables v10 and defined: $(document).ready(function() { $("#datatable").DataTable({ language: { paginate: { previous: "<i class='mdi mdi-chevron-left'>", next: "<i class='mdi...
View ArticleSetting a button color (getting different behavior depending on script file...
example here: http://live.datatables.net/yonakowu/346/edit I'm trying to set the color of a button by setting its class (btn-primary). I noticed that regardless of what I did, the button was still...
View ArticlePHP MJoin with Where cause SQL syntax Error
Greetings I'm using PHP Datatable Library 1.9, and everything is fine. Today I tried to use Mjoin as usual, but this time I have to do furhter conditioning by adding where. and I got the error: error:...
View Articleexport pdf from data table symbol not showing from table data
I am tring to export data from datadable, exporing all data but not exporting symbols from table data
View ArticleWhich should be used: aoColumns or columns?
I wanted to have a custom sort function for a column in my table. I could find an example, which used aoColumns option, and my goal of custom sorting is achieved as well. However, is aoColumns a legacy...
View ArticleEditor in WebForm .Net and C# postback doesnt get new values
I have the code of GridView and it turn to datatable with editor, when i click in one row (inline editor) i change the values of any cell after i use a button to do the (Submit) the Server (C#) dont...
View Articlehtml5 buttons export doesn't exclude the Header Colums
i have a dynamic dataTable function to do a export with exportOptions: { columns: 'th:not(.noexportar)', format: { body: function (data, row, column, node) { data = jQuery('<p>' + data +...
View ArticleGet custom filtering active filters
I'm using the following method to add custom filtering features: $.fn.dataTable.ext.search.push(function(oSettings, aData) {}); How can I obtain back which filter value is active on each column? Also,...
View Article