ng2-md-datatable

Angular 5+ DataTable component for using with Material Design 2

MIT License

Downloads
431
Stars
38
Committers
8

Bot releases are hidden (Show)

ng2-md-datatable - all-state-mint

Published by fredguile over 7 years ago

News:

  • This shall be a bug fixes release.
  • There were too many glitches due to poor state management. To fix them I decided to refactor the whole library to use a @ngrx/store and unidirectional data flow, and limit @Output properties of children components.
  • As requested, there's now a demo-app made with Angular CLI.
  • I'd be thankful to have your feedback on this release.

Breaking Changes:

  • I removed MdDataTableCellDirective as it was suboptimal solution for tagging content and it was kicking Angular's change detection way too often. If you want to to set up numeric columns and cells, better is to do it in your template directly. Please check demo-app for an example on how to tag numeric columns.

Known issues:

  • There's a problem currently when building with AOT, I'm working on a hotfix that should be released soon
  • I found out that @ngrx/store in its current version isn't completely suitable for embedding a sub store into a lib. I had to hack this using an OpaqueToken. Hopefully I'll get more directions when @ngrx/store 4.0 is released.
  • Still not compatible with Angular 4.x, but...
  • ...I just realised that Material Design beta.3 was released, I shall plan an upgrade in a short while
ng2-md-datatable - aot-fix

Published by fredguile over 7 years ago

Shall fix an error when building AOT with Angular CLI 1.0 final.

ng2-md-datatable - apple-a-day

Published by fredguile over 7 years ago

Breaking Changes:

As we're following @angular/[email protected] new guidelines, we've changed the way you must import this component's theme. In your app's SCSS theme file:

  • you need to import ~ng2-md-datatable/datatable-theme instead of ~ng2-md-datatable/md-datatable-theme
  • next to that you will include mat-datatable-theme($theme) instead of md-datatable-theme($theme)

Let's hope we don't get more renaming in the next Material 2 versions ;)

News:

  • @TitanNano enhanced pagination's design and made it closer to Material specs

Known issues:

  • missing demo-app (will follow)
  • possibly some duplicated events fired after the first page load. I need to investigate if this is a bug coming from the component itself or from my client app (I may create an issue with clarification for this)
ng2-md-datatable - prior-zwo

Published by fredguile over 7 years ago

Updated dependencies to @angular/[email protected] and Angular 2.4.x.

ng2-md-datatable - cosmetic-cookie

Published by fredguile almost 8 years ago

Updated dependencies to @angular/[email protected] and Angular 2.4.1. Fixed arrow sign not showing up when sorting datable columns.

ng2-md-datatable - aot-breeze

Published by fredguile almost 8 years ago

Fixed build tools to avoid putting .ts files in the NPM module, as it would break AOT compilation (sorry for that).

ng2-md-datatable - pagination-all-clear

Published by fredguile almost 8 years ago

Added "itemsPerPageChoices" (array of numbers) and "itemsPerPageFirstChoice" (number) as @Inputs on the pagination component

ng2-md-datatable - datatable-on-the-rocks

Published by fredguile almost 8 years ago

ng2-md-datatable -

Published by fredguile almost 8 years ago

Fixed some CSS issues

ng2-md-datatable -

Published by fredguile almost 8 years ago

ng2-md-datatable -

Published by fredguile almost 8 years ago

ng2-md-datatable - wounderbar

Published by fredguile almost 8 years ago

Initial release