Releases: l-lin/angular-datatables
Releases · l-lin/angular-datatables
v0.1.1
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}
});
v0.1.0
This relase contains the following:
v0.0.3
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
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
First release of the module. It includes the following:
- a directive
datatable
that will render the table with Datatables along with attributesdt-options
anddt-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