Questions tagged [tabletools]

TableTools is a plug-in for the DataTables HTML table enhancer, which adds a highly customisable button toolbar to a DataTable.

TableTools is a plug-in for the DataTables HTML table enhancer, which adds a highly customisable button toolbar to a DataTable.

Key features include:

  • Copy to clipboard
  • Save table data as CSV, XLS or PDF files
  • Print view for clean printing
  • Row selection options
  • Easy use predefined buttons
  • Simple customization of buttons
  • Well defined API for advanced control

Initialising TableTools with DataTables:

/*
 * Example initialisation
 */
$(document).ready( function () {
    $('#example').dataTable( {
        "sDom": 'T<"clear">lfrtip',
        "oTableTools": {
            "sSwfPath": "/swf/copy_csv_xls_pdf.swf"
        }
    } );
} );
173 questions
0
votes
1 answer

jQuery DataTables - File becomes empty after dynamic change of filename

I want to dynamically change my exported CSV file name. accountsDataTable = $('#accounts-list').DataTable({ "dom": 'Tlfrtip', "tableTools": { "sSwfPath": "swf/copy_csv_xls.swf", "aButtons": [{ "sExtends": "csv", …
Mehdiway
  • 10,337
  • 8
  • 36
  • 68
0
votes
0 answers

Processing indicator for jquery datatable tools

Am using Jquery Datatable tools for exporting a report grid contents.When i need to export a with large number of rows , the tools take lots of time delay.I need to put a "processing" indicator on this delay. I use following code for table tools - …
Murali Uppangala
  • 884
  • 6
  • 22
  • 49
0
votes
2 answers

Custom MySQL query for jquery dataTables

the problem here is the dataTables pagination is not working this is the script i created that outputs json from the database include( "../database.php" ); $q = $dbh->prepare("SELECT r.studid, r.firstname, r.middlename, r.lastname, r.Enrolling,…
jmn
  • 102
  • 1
  • 8
0
votes
0 answers

DataTable Table Tools Not Displaying anything

I have added this JavaScript if statement to my MVC 5 project however this does not add the table tools to the page, also I have no console errors. if ($(".table").hasClass("ExportDataTable")) { $('.table').dataTable({ "columnDefs": [ …
0
votes
1 answer

I need an event fired after successful export on DataTables 1.10

I'm using DataTables 1.10.4 and I would like to make an action, like a javascript function, after a successful Excel export. Is it possible, since the button is using Adobe Flash?
Francisco Campos
  • 1,191
  • 8
  • 16
0
votes
1 answer

dataTable.js, Print plugin, prevent fading out of info box

In the cvs,pdf,print plugin (tabletools) for datatable.js, when you click on print, for a brief moment an info box is displayed with the print info as well as using ESC to get back to the normal view. How can you control the info that is displayed…
Serj Sagan
  • 28,927
  • 17
  • 154
  • 183
0
votes
1 answer

Datatables TableTools download only downloading part of table

I'm using the Datatables plugin TableTools to provide the ability of the user to download the table contents. The tables are in memory in Javascript (no server side pagination). But when I try to download the table, I'm not getting the entire…
Jared Nedzel
  • 779
  • 1
  • 6
  • 10
0
votes
1 answer

Open android tablet in fastboot mode for Lenovo A1000-T

How did you go into fastboot mode? I am not able to figure out. adb reboot bootloader adb reboot-bootloader adb reboot fastboot None of them worked, However adb reboot recovery opens it in recovery mode. Niether of them worked. I have installed…
Inderpal Singh
  • 270
  • 2
  • 8
  • 24
0
votes
0 answers

Jquery DataTable Export to Excel ASP.NET WebForms

Does anyone have an alternative solution to using TableTools for exporting Jquery's Datatable to an Excel sheet? We cannot use TableTools because it requires Flash to be enabled but since a vast majority of our clients have their Flash disabled we…
AirSlim
  • 13
  • 3
0
votes
2 answers

ASP.NET MVC Razor - Datatable export issue while filtering

I have been trying from couple of days to bind my view part with controller in razor style and I have done to a level well everything working cool but I'm stuck now & any clue is appreciated. My mvc controller returns something like public…
super cool
  • 6,003
  • 2
  • 30
  • 63
0
votes
2 answers

Change the Table tools pdf title name in html

How to give table caption as pdf title in Table tools as of now HTML page title is coming as pdf title. I am generating pdf with this code