Skip to content

Releases: l-lin/angular-datatables

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