Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

datatables.net-buttons

Package Overview
Dependencies
Maintainers
0
Versions
56
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

datatables.net-buttons

Buttons for DataTables

  • 3.2.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
132K
decreased by-13.71%
Maintainers
0
Weekly downloads
 
Created

What is datatables.net-buttons?

The datatables.net-buttons package is an extension for the DataTables library that provides a set of buttons for various functionalities such as exporting data, printing, and column visibility control. It enhances the interactivity and usability of DataTables by allowing users to perform actions directly from the table interface.

What are datatables.net-buttons's main functionalities?

Export to CSV

This feature allows users to export the table data to a CSV file. The code initializes a DataTable with a button that, when clicked, exports the data to a CSV file.

var table = $('#example').DataTable({
  dom: 'Bfrtip',
  buttons: [
    'csv'
  ]
});

Export to Excel

This feature allows users to export the table data to an Excel file. The code initializes a DataTable with a button that, when clicked, exports the data to an Excel file.

var table = $('#example').DataTable({
  dom: 'Bfrtip',
  buttons: [
    'excel'
  ]
});

Print View

This feature allows users to print the table data. The code initializes a DataTable with a button that, when clicked, opens a print view of the table data.

var table = $('#example').DataTable({
  dom: 'Bfrtip',
  buttons: [
    'print'
  ]
});

Column Visibility

This feature allows users to control the visibility of columns in the table. The code initializes a DataTable with a button that, when clicked, provides options to show or hide columns.

var table = $('#example').DataTable({
  dom: 'Bfrtip',
  buttons: [
    'colvis'
  ]
});

Other packages similar to datatables.net-buttons

Keywords

FAQs

Package last updated on 12 Nov 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc