I want to refresh data-table when click on one button. There are 3 buttons.
Example: stackblitz (not redirecting to customer page)
I am not getting why it's not updating the list in data-table. Data table is generic. So need to pass only data source.
this.tableDataso MatDataSource automatically refreshed