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.
I'm having an issue with version 4.8.0. I initialised data of GtConfig with an empty array, insert data later within a Promise but still renders nothing, not even going in the render function (console log in it and doesn't log).
I'm having an issue with version 4.8.0. I initialised
data
ofGtConfig
with an empty array, insert data later within a Promise but still renders nothing, not even going in the render function (console log in it and doesn't log).My code in the constructor:
Then I trigger a "getData" method in
ngOnInit
Data is array containing the objects for the table.
Anyone got some suggestions?
For info, I use the same exact method in another page of the same app and there it renders correctly.