ng2-md-datatable

Angular 5+ DataTable component for using with Material Design 2

MIT License

Downloads
431
Stars
38
Committers
8

Bot releases are visible (Hide)

ng2-md-datatable - code-cleanup Latest Release

Published by fredguile over 6 years ago

Minor code cleanup, no change in functionalities

ng2-md-datatable - versions-update

Published by fredguile over 6 years ago

Features:

Version 1.7.3 adds compatibility with latest Angular 5.x and Material 5.x

ng2-md-datatable - material5

Published by fredguile almost 7 years ago

Features:

Version 1.7.x adds compatibility for Angular 5.x and Material 5.0.0 final.

ng2-md-datatable - angular5

Published by fredguile almost 7 years ago

Features:

Version 1.6.x adds compatibility for Angular 5.x, Material 5.0.0-rc and RxJS 5.5.x. I managed to slighty reduce the size of the UMD bundle by using Rx's lettable operators.

ng2-md-datatable - nothing-nothing

Published by fredguile almost 7 years ago

Just a small version bump: I did publish another version to correctly update npmjs.com homepage with the latest revision of my README. No fix or feature whatsoever. Have fun!

ng2-md-datatable - interface-warning-fix

Published by fredguile almost 7 years ago

Fixed / Breaking change:

Replaced these 3 interfaces by classes:

  • IDatatablePaginationEvent => DatatablePaginationEvent
  • IDatatableSelectionEvent => DatatableSelectionEvent
  • IDatatableSortEvent => DatatableSortEvent

This to avoid an unsolvable warning when using them as type decorators.

You can read more here about this issue:
https://github.com/angular/angular-cli/issues/2034#issuecomment-302666897

ng2-md-datatable - fesm-in-the-attic

Published by fredguile about 7 years ago

Improvements:

  • refactored code structure for better readability, using my now default beautifiers ESLint + Prettier
  • reworked the build process to deliver an official Angular 4+ library including:
    • a tree-shakable ES2015 FESM package
    • a tree-shakable ES5 FESM package
    • an UMD package for System.JS (you would use this in Plunker)
    • expect smaller file sizes (when using Webpack or Angular-CLI) and faster building times
  • added a notice regarding the official Material 2 DataTable (yes you can still use this one if you'd like)

Breaking changes:

The library is now enabled for the latest material-2.0.0-beta.12. If you've followed the latest Material 2 changes, you already know about the renaming & deprecation of all Md prefixes to Mat prefixes.

This lib follows these conventions as well, and all Md classes are now renamed to Mat. Please update your code accordingly.

Note that I didn't change the selectors, so you normally won't have to change your templates.

Feel free to open issues regarding feedback on this release.

ng2-md-datatable - added-pagination-api

Published by fredguile over 7 years ago

Improvements:

Fixes:

  • fixed a RxJS dependency error
  • fixed documentation & demo-app regarding the selectable attribute. Please make sure in your code that you always pass a boolean value to it, true|false|expression. Thanks for not using it without attribute value.
ng2-md-datatable - hotfix-it

Published by fredguile over 7 years ago

ng2-md-datatable - select-electre

Published by fredguile over 7 years ago

Fixes:

  • Fixed selectable attribute not working with an expression
  • Fixed build pipeline given last updates

Known issues:

ng2-md-datatable - solitary-daze

Published by fredguile over 7 years ago

Changes:

Tested ng2-md-datatable with @angular/material 2.0.0-beta.6, now the peer dependency is just "@angular/material ~2.0.0-beta" to work with any beta version of @angular/material.

ng2-md-datatable - chimichurri-ui

Published by fredguile over 7 years ago

Fixes:

ng2-md-datatable - twin-arrows

Published by fredguile over 7 years ago

Fixes:

ng2-md-datatable - async-tote

Published by fredguile over 7 years ago

Fixes:

  • Applied some optimizations to datatable’s events and the way they are propagated to EventEmitters, with regards of Angular’s change detection. To solve some UI glitches still ocurring sometimes during change detection on my main app.
ng2-md-datatable - boring-release

Published by fredguile over 7 years ago

Fixes:

  • Nothing really exciting, fixed a minor cosmetic issue where the ”check all” checkbox would stay checked even after the table has redrawn with no element.
ng2-md-datatable - reduxtastic

Published by fredguile over 7 years ago

Fixes:

  • Fixed that MdDataTableComponent would emit one IDatatableSelectionEvent and one IDatatableSortEvent just after mounting. You probably don't need to capture the initial value using these EventEmitters, and just want to listen for changes when the user interacts with the MdDataTableComponent.

News:

  • The library now hooks to the Redux DevTools Chrome Extension if present. It's mainly useful for the library maintainers, not much for the library users. But feel free to install this Chrome extension to monitor the DataTable's store state. Also don't expect to have fancy features like time travel or actions reorder to work, I've just implemented a basic monitoring of actions and state.
ng2-md-datatable - dizzy-rocksteady

Published by fredguile over 7 years ago

Fixes:

  • Fixed build pipeline of this library, I hope it is now "state of the art".
  • Migrated CircleCI configuration to v2.0 for using a docker image.

Breaking Changes:

  • There should not be (and I still recommend using Angular 4.x and Angular CLI 1.0 with this lib).

Known issues:

  • none (unless your feedback?)

Contributing:

  • Feel free to open PR to enhance this project!
  • I'll put very thin guidelines, basically in order to have a good PR merged:
    • please run gulp lint before opening a PR to make sure it complies to the current tslint.json / stylelint.json
    • please double-check that the build status of your branch is passing on CircleCI
    • feel free to write some unit or protractor tests, they are always welcome!
ng2-md-datatable - amnesia-fix

Published by fredguile over 7 years ago

News:

  • Fixed a re-rendering bug when the content of datatable gets updated by an Observable.
  • I've added a "Shuffle" button in the demo-app to demo such change.
  • Added CircleCI configuration, build, and badges in README.

Breaking Changes:

  • Removed deprecated MdDatatable.forRoot(), please use MdDatatable instead.

Known issues:

  • AOT compilation using angular-cli fails. This may be linked to my current build pipeline and/or Angular-CLI itself. For some reasons the binaries in dist/ are missing some important decorators (are they tree-shaked?). Consequently, my client app is complaining about @NgModule missing on MdDatatableModule, for instance. Any help would be appreciated to solve this, thanks :)
  • Note that it also happens in 1.3.2, but 1.3.1 was apparently okay.
ng2-md-datatable - aldous-harvest

Published by fredguile over 7 years ago

News:

  • This version is compatible with Angular 4.x and Material 2-beta.3
  • Column headers use the proper material arrow icon (thanks @Raphyyy)
  • Fixed weird selection behavior when sorting columns (rows will now be deselected)

Breaking Changes:

  • This version can be used with Angular 4.x only. For Angular 2.4.x you may use versions 1.2.x.
ng2-md-datatable - maintenance-mint

Published by fredguile over 7 years ago

News:

  • Ditched @ngrx/store to use my own implementation, so as to not wait for their upgrades for upgrading my lib to the next Angular versions.
  • Fixed gulp tasks gulp lint, gulp test and gulp publish
  • Moved demo-app into src/demo-app

Breaking Changes:

  • MdDataTableModule.forRoot() will be deprecated at some point, hence I recommend just importing MdDataTableModule instead.

Known issues:

  • Currently unable to compile AOT with Angular-CLI 1.0, I suspect that something is broken on their side. [UPDATE]: Actually this shall be fixed with this version.
  • Not yet compatible with Angular 4.x (but soon).