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 trying to init selected rows. Actually i have array with ids but i'm just trying very simple:
options: GtOptions = { lazyLoad: true, rowSelection: this.access.select, rowSelectionInitialState: row => row.id === 1 };
Since my data is loading like lazy (receive from server) there is a problem - row is not select. What is the right way to solve this case?