Skip to content

Play-DataTables is a library for play framework that allows you to easily integrate DataTables in your PlayFramework project.

License

Notifications You must be signed in to change notification settings

PierreAdam/play-datatables

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Play-DataTables

Latest release Codacy Badge Code Climate maintainability Codecov Snyk Vulnerabilities JDK Build Status GitHub license

Play-DataTables is a library for play framework that allows you to easily integrate DataTables in your PlayFramework project.

This library is providing an abstraction for the DataTables requests. It is not recommended to directly utilize this library as it's the base for other libraries that implements some data providers.

List of the current data providers :


Build the library and local deployment

$> mvn compile
$> mvn package
$> mvn install

Install or deploy

To install in your local repository.

$> mvn install

To deploy to a remote repository.

$> mvn verify
$> mvn deploy -P release

How to import the library

With Sbt

libraryDependencies += "com.jackson42.play" % "play-datatables" % "21.04u1"

With Maven

<dependency>
    <groupId>com.jackson42.play</groupId>
    <artifactId>play-datatables</artifactId>
    <version>21.04u1</version>
</dependency>

Implementing a data provider for Play-DataTables

Example of implementation is available in the tests. For a more concrete example, take a look at play-ebean-datatables

Versions

Library Version Play Version Tested DataTables Version
21.04u1 2.8.x 1.10.x
21.04 2.8.x 1.10.x
21.03 2.8.x 1.10.x

Changelog

21.04u1

  • Patch NPE when a value is at null in the entity.

21.04

  • Add a new concept of converters that allow to have a custom object being displayed properly by Play DataTables.
  • Refactoring of some complicated part of the code.
  • Compilation is now made to be done with Java 11 but compiled for Java 1.8.

License

This project is released under terms of the MIT license.

About

Play-DataTables is a library for play framework that allows you to easily integrate DataTables in your PlayFramework project.

Topics

Resources

License

Stars

Watchers

Forks

Sponsor this project

Packages

 
 
 

Languages