🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more

datatables.net-select

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install
D

datatables.net-select

Select for DataTables

3.0.0
latest
100

Supply Chain Security

100

Vulnerability

88

Quality

80

Maintenance

100

License

Version published
Maintainers
0
Created

What is datatables.net-select?

The datatables.net-select package is an extension for the DataTables library that provides row, column, and cell selection capabilities. It allows users to interact with tables by selecting specific parts of the data, which can then be used for further processing or analysis.

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

Row Selection

This feature allows users to select entire rows in a DataTable. The selected rows can then be manipulated or used for further actions.

var table = $('#example').DataTable({
  select: true
});

Column Selection

This feature enables users to select entire columns. This can be useful for operations that need to be performed on entire columns of data.

var table = $('#example').DataTable({
  select: {
    style: 'multi',
    items: 'column'
  }
});

Cell Selection

This feature allows users to select individual cells within the DataTable. This is useful for more granular data manipulation.

var table = $('#example').DataTable({
  select: {
    style: 'os',
    items: 'cell'
  }
});

Multi-Item Selection

This feature allows users to select multiple items (rows, columns, or cells) at once. This is useful for batch operations.

var table = $('#example').DataTable({
  select: {
    style: 'multi'
  }
});

API Integration

This feature provides an API for integrating selection events with custom logic. For example, you can log the data of selected rows.

var table = $('#example').DataTable();
table.on('select', function (e, dt, type, indexes) {
  var data = table.rows(indexes).data().toArray();
  console.log(data);
});

Other packages similar to datatables.net-select

FAQs

Package last updated on 07 Jan 2025

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