I am unsure how to do this and correctly update the columns on the grid.
To sum up my use case the below is a very simple example of what I am trying to do.
Grid is initialized on page load with data source 1, data source 1 has columns A, B, C, D. Grid correctly shows columns ABCD. The user now wants to view a different data set by selecting a series of drop downs on the page. Updating the data source to data source 2 with columns B, D, E, F. The grid now incorrectly shows columns ABCD.
Is there a way to refresh the grid in Angular 2+ after a data source change that will reset columns from the data source?