So I have a large table with lots of different column headers, lets say there are 10. Currently, under this table, there are two different model types, model A and model B. Model A uses all 10 column headers, while Model B uses 6 of the 10. There is a filter, so you can either view both model A and model B at the same time, or you can filter by model to see either model A or model B. (There are additional filter options but I wont get into those) Currently, the design is created so that when you filter from model A to model B, or vice versa, the column headers change. If you are viewing both models at once, the table shows all 10 column headers. Now my question is, is it safe ux practice to change the column headers of a data table depending on which models are shown within the table, or is it better to show all 10 despite model B only using 6 of them. Both models are of equal importance so I cant prioritize one over the other.
Here is an example of what I mean:
Basically, when a filter is selected where a column header is not required, it disappears. You can see that the flavor header stays in the table, but when I filter to dinner it disappears.