Is it possible to add a column in CGridView based on the searchfilters?
If for example I choose an option from a dropdown and hit search, one column should be added.
I tried to check if a searchcriteria was set in the view and then display another CGridView with an if-statement, but it didn’t work because of ajax I guess.