hjalmers / angular-generic-table

A generic table for Angular 2+. Generic table uses standard markup for tables ie. table, tr and td elements etc. and has support for expanding rows, global search, filters, sorting, pagination, export to CSV, column clicks, custom column rendering, custom export values.
https://hjalmers.github.io/angular-generic-table/
MIT License
105 stars 55 forks source link

GtCustomComponent component doesn't exist #316

Open mayraGL opened 3 years ago

mayraGL commented 3 years ago

Hello! I've been trying to update to the latest version 5 but I think there is an error. When installing the project with npm it does not bring me the GtCustomComponent component. I am upgrading to angular 7 and this is causing problems for me.

hjalmers commented 3 years ago

Hi @mayraGL, yeah I'm afraid version 5 which is marked as a pre-release introduces some breaking changes. Id' say they're good and will simplify a lot of things but you'll need to refactor your code a bit to make it work again. I haven't started with the documentation yet and there are some features I haven't started with either but if you'd like to check it out the latest version can be viewed here: https://hjalmers.github.io/angular-generic-table/rc/ note that it's only POC for the "new" table so no instructions or documentation just a basic component.

However meanwhile you should be able to use the alpha version of version 5 https://github.com/hjalmers/angular-generic-table/releases/tag/v5.0.0-alpha.3 as the breaking changes were introduces when going from alpha to RC (release candidate). You can install it with npm like this:

npm i @angular-generic-table/core@5.0.0-alpha.3 --save

Are there any particular features you're using at the moment from this component that you're dependent on?

The new version supports most things already so it might be possible for you to use that one too (with a bit of refactoring).