angular-datatables

WebJar for angular-datatables

License

License

Categories

Categories

Data Angular User Interface Web Frameworks
GroupId

GroupId

org.webjars
ArtifactId

ArtifactId

angular-datatables
Last Version

Last Version

0.6.2
Release Date

Release Date

Type

Type

jar
Description

Description

angular-datatables
WebJar for angular-datatables
Project URL

Project URL

http://webjars.org
Source Code Management

Source Code Management

http://github.com/webjars/angular-datatables

Download angular-datatables

How to add to project

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

Dependencies

compile (3)

Group / Artifact Type Version
org.webjars : jquery jar 1.12.4
org.webjars : datatables jar 1.10.16
org.webjars : angularjs jar 1.6.6

Project Modules

There are no modules declared in this project.

webjars-angular-datatables

Webjar integration of angular-datatables(http://l-lin.github.io/angular-datatables)

Installation

Include the JS file in your index.html file:

<script src="/webjars/angular-datatables/0.4.0/angular-datatables.min.js"></script>

IMPORTANT: You must include the JS AFTER jQuery and DataTables!

With RequireJS/AMD, this is

// Load webjars config script first. See http://www.webjars.org/documentation

require(['jquery', 'datatables', 'angular', 'angular-datatables'], function() {...});

If you want the Twitter Bootstrap support, then add the CSS file:

<link rel="stylesheet" href="/webjars/angular-datatables/0.4.0/plugins/bootstrap/datatables.bootstrap.css">

NOTE: The path changed in v0.4.0. To load this with the require-css plug-in use css!angular-datatables.bootstrap-css.

Declare dependencies on your module app like this:

angular.module('myModule', ['datatables']);

Complete example

<link rel="stylesheet" href="/webjars/datatables/1.10.1/css/jquery.dataTables.min.css">
<!--optionnal-->
<link rel="stylesheet" href="/webjars/angular-datatables/0.4.0/plugins/bootstrap/datatables.bootstrap.css">

<script src="/webjars/jquery/1.11.1/jquery.min.js"></script>
<script src="/webjars/datatables/1.10.1/js/jquery.dataTables.min.js"></script>
<!-- needs to be included AFTER jQuery and Datatables -->
<script src="/webjars/angular-datatables/0.4.0/angular-datatables.min.js"></script>

Usage

See angular datatables website.

Plug-ins

See the pom.xml file for the exported plug-ins.

columnfilter, scroller and tabletools did not have usable Webjars at the time of writing. They will needed to be configured externally if RequireJS is used.

org.webjars

WebJars

Web Libraries as JAR Files

Versions

Version
0.6.2
0.5.2
0.4.3
0.4.2
0.4.0
0.3.0
0.2.0
0.1.0
0.0.3