Quantcast
Channel: Recent Discussions — DataTables forums
Browsing all 82311 articles
Browse latest View live

Editor trial, time bomb?

Hello, I'm having an issue with Editor plugin that suddenly broke into a weird javascript issue (some obfuscated name isn't defined). Looking at this thread:...

View Article


need a more performant use of the api

given an array of booleans indicating intended column visibility is there a faster way to set the visibility of each column? $.fn.dataTable.Api('#table-1').columns().every(function(ndx){...

View Article


Filter not removed when user clicks "X" in search box (Internet Explorer only)

No need for an answer or solution here (although this might be a DataTables bug). We had a problem in Internet Explorer where users could clear the search box by clicking the "X" in the search box, but...

View Article

Pagination for multiple tables

Hi! I have about 10 tables on one page, is there a way to set pagination on first table to work on other tables too? E.g. i press "next" button on first table and page changes in every table. Thx in...

View Article

pdfHtml5 exportOptions to remove nested tags

Hello, I'm having some trouble with nested html tags when using the buttons plugin with pdfHtml5. The text in my cell is wrapped in two nested <div> and a <p>. In the PDF export, I only...

View Article


How to Submit Data in Mjoin Link Table

Hi Allan, According this example , and my question here, i need to submit data to the link table between 2 tables (create button) Let say I have table | field - act_log_header | act_log_id -...

View Article

ColVis Button Does Not Work With jQuery 3.X

When attempting to use the buttons extension I noticed that the ColVis button appeared and popped up the list when clicked. However, when I clicked on a column from the list it gave the following error...

View Article

Datatable is recreating itself after no records are returned.

I have a datatable using ajax sourced data. I have 2 filters above my table to display 'draft' and 'published' records in the table. draft filter works by adding new params to the to the table with...

View Article


Data table buttons of excel and pdf are not working in IE11

In our current website we are using following versions of jQueries to form data table- jquery.dataTables.min.js jquery.dataTables.ZeroClipboard.js jquery.dataTables.TableTools.js and...

View Article


Print Table Borders

Hi, I finally was able to put the print button, but when i print the table on paper it shows no borders, it's there a way the table can print the borders also ? Thanks

View Article

Set page even if no exists

I need to set a page number with the api myGrid.page(pageNumber). I saw in the code this comment: Note that if you attempt to show a page which does not exist, DataTables will not throw an error, but...

View Article

How to export XLSX with only visible columns?

I am using the colvis and excel buttons for my DataTable. The excel file works fine and the column visibility is working fine. However, when I hide a couple columns and try to export those columns...

View Article

checkboxes in datatables?

my customer wants a new functionality that would allow him to choose certain data rows, for instance by adding a checkbox for each line (the table would have to be placed inside a form, and there would...

View Article


Using __dt_wrapper to determine if an object is a DataTable object...fragile?

I'm using this code to determine whether a given variable is referencing a DataTable object or not: if(undefined != myObjectVariable.$ && myObjectVariable.$.__dt_wrapper) { alert('A DataTable...

View Article

Hide a column

Hello, I'm trying to hide the first column of my datatable. I don't need to display that information in that column but I need to consult for certain functions with javascript. My trouble is when I use...

View Article


Fixed Columns not Automatically Resizing on Inline Editor Error

The issue I'm encountering is that when an error is displayed for an editor field, it's not resizing the fixed columns. A good example of this is:...

View Article

dd/mm/yyyy sort is not working

I need to sort date column and the format is mm/dd/yyyyy. I have attached the image. it works fine if I have date like this.. 10/10/2014,10/12/2016... but if there is a date like 7/6/1996, then sort is...

View Article


lengthMenu location change?

By default the lengthMenu, which controls the number of rows per page, is displayed in the upper left of the table. The same location as the buttons. They stack by default which create a busy header at...

View Article

When datatables returns results that are empty, the "datatables_empty" class...

Hi all - weird problem. Sometimes the datatables_empty class gets applied when there's no results but other times it doesn't. Is there a way to write code to say if the results are empty, add this...

View Article

How to sort date in n-day/week/month/year format?

I have a table that displays the 'freshness' of posts in this format: 30 second, 1 week 3 day, 5 month But I can't figure out how to sort them, this is what I've achieved so far: function getRank(name)...

View Article
Browsing all 82311 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>