Skip to content

Releases: l-lin/angular-datatables

v0.1.1

06 Sep 12:26
Compare
Choose a tag to compare

This release contains the following:

  • Expose the DataTable object in the event #64:
$scope.$on('event:dataTableLoaded', function(event, loadedDT) {
    // loadedDT === {"id": "foobar", dt: oTable}
});
  • Several corrections on bower.json #65
  • Correct issue when changing data with the "Angular way" #63
  • Update documentations (no RequireJS support)

v0.1.0

23 Aug 23:10
Compare
Choose a tag to compare

This relase contains the following:

  • Add the possibility to customize the Bootstrap buttons config for TableTools #48
  • Add the possibility to configure Bootstrap default options $DTDefaultOptions #51
  • Correct the empty result display in the "Angular way" #43
  • Add the possibility to add/edit/remove row when using the "Angular way" #16 #54

v0.0.3

01 Aug 07:31
Compare
Choose a tag to compare

This release contains the following:

  • Remove plnkr example from live demo
  • Add server side processing
  • Documentation improvement
  • Various bugfixes:
    • Correct angular way with options
    • Correct bootstrap pagination
    • Correct AjaxRenderer
  • Add DTColumnDefBuilder to build the columnDef options
  • Add the possibility to override the loading template
  • Add new API DTOption.withDOM(sDOM)

v0.0.2

11 Jul 10:00
Compare
Choose a tag to compare

This release includes the following:

  • Change the promise way to fetch data. You no longer provide a promise but a function that returns a promise.

In v0.0.1:

$scope.dtOptions = DTOptionsBuilder.fromPromise($resource('data.json').query().$promise);

in v0.0.2:

$scope.dtOptions = DTOptionsBuilder.fromFnPromise(function() {
    return $resource('data.json').query().$promise);
});

Note: Notice the change of the function from fromPromise to fromFnPromise.
Note 2: You can still provide a promise, but you will not benefit from the data reloading feature.

  • Add the "Angular way" to render DataTable.
  • Add the possibility to reload data or load different data (only when using Ajax or promise to fetch the data).
  • Emit an event when the DataTable is loaded.

v0.0.1

30 May 21:49
Compare
Choose a tag to compare

First release of the module. It includes the following:

  • a directive datatable that will render the table with Datatables along with attributes dt-options and dt-columns in which you can provide additional options
  • a DTOptionsBuilder that will help you build the datatable options (but you can always pass a simple JSON object instead)
  • a DTColumnBuilder that will help you build the datatable column options (but you can always pass a simple JSON object instead
  • the module can work with Ajax calls and promises