While adding the dynamic columns into the mat table, rows are adding along with columns. But dont want to add the rows into the table while adding the columns.
I have the list of items which needs to add/remove as columns as dynamically to the table. While clicking the item, that item is added as column into the table and at the same time one row is adding. dont want to add the row in to the table.
If 5 items are adding as columns 5 rows are added to the table.
you can check the issue https://stackblitz.com/edit/angular-pg9fie