datatables

WebJar for datatables

License

License

MIT
Categories

Categories

Data
GroupId

GroupId

org.webjars.bowergithub.datatables
ArtifactId

ArtifactId

datatables
Last Version

Last Version

1.10.21
Release Date

Release Date

Type

Type

jar
Description

Description

datatables
WebJar for datatables
Project URL

Project URL

https://www.webjars.org
Source Code Management

Source Code Management

https://github.com/DataTables/DataTables

Download datatables

How to add to project

<!-- https://jarcasting.com/artifacts/org.webjars.bowergithub.datatables/datatables/ -->
<dependency>
    <groupId>org.webjars.bowergithub.datatables</groupId>
    <artifactId>datatables</artifactId>
    <version>1.10.21</version>
</dependency>
// https://jarcasting.com/artifacts/org.webjars.bowergithub.datatables/datatables/
implementation 'org.webjars.bowergithub.datatables:datatables:1.10.21'
// https://jarcasting.com/artifacts/org.webjars.bowergithub.datatables/datatables/
implementation ("org.webjars.bowergithub.datatables:datatables:1.10.21")
'org.webjars.bowergithub.datatables:datatables:jar:1.10.21'
<dependency org="org.webjars.bowergithub.datatables" name="datatables" rev="1.10.21">
  <artifact name="datatables" type="jar" />
</dependency>
@Grapes(
@Grab(group='org.webjars.bowergithub.datatables', module='datatables', version='1.10.21')
)
libraryDependencies += "org.webjars.bowergithub.datatables" % "datatables" % "1.10.21"
[org.webjars.bowergithub.datatables/datatables "1.10.21"]

Dependencies

compile (1)

Group / Artifact Type Version
org.webjars.bowergithub.jquery : jquery-dist jar [1.7.0,)

Project Modules

There are no modules declared in this project.

DataTables plug-in for jQuery

DataTables is a table enhancing plug-in for the jQuery Javascript library, adding sorting, paging and filtering abilities to plain HTML tables with minimal effort. The stated goal of DataTables is:

To enhance the accessibility of data in HTML tables.

To meet this goal, DataTables is developed with two distinct groups of users in mind:

  • You the developers using DataTables. For developers DataTables provides a wide array of options for how data should be obtained, displayed and acted upon, along with an extensive API for accessing and manipulating the table.

  • End users. For those using the interface DataTables presents, actions to get the most from the information contained in tables, such as sorting and filtering, along with paging and scrolling of the data in table, are easy to use, intuitive and fast.

Installing DataTables

To use DataTables, the primary way to obtain the software is to use the DataTables downloader. You can also include the individual files from the DataTables CDN. See the documentation for full details.

NPM and Bower

If you prefer to use a package manager such as NPM or Bower, distribution repositories are available with software built from this repository under the name datatables.net. Styling packages for Bootstrap, Foundation and other styling libraries are also available by adding a suffix to the package name.

Please see the DataTables NPM and Bower installation pages for further information. The DataTables installation manual also has details on how to use package managers with DataTables.

Usage

In its simplest case, DataTables can be initialised with a single line of Javascript:

$('table').dataTable();

where the jQuery selector is used to obtain a reference to the table you want to enhance with DataTables. Optional configuration parameters can be passed in to DataTables to have it perform certain actions by using a configuration object as the parameter passed in to the DataTables constructor. For example:

$('table').dataTable( {
  paginate: false,
  scrollY: 300
} );

will disable paging and enable scrolling.

A full list of the options available for DataTables are available in the documentation.

Documentation

Full documentation of the DataTables options, API and plug-in interface are available on the DataTables web-site. The site also contains information on the wide variety of plug-ins that are available for DataTables, which can be used to enhance and customise your table even further.

Support

Support for DataTables is available through the DataTables forums and commercial support options are available.

License

DataTables is release under the MIT license. You are free to use, modify and distribute this software, as long as the copyright header is left intact (specifically the comment block which starts with /*!).

Versions

Version
1.10.21
1.10.20
1.10.19
1.10.18
1.10.16