Gridview Headers Scenario

Any possible or best solution to change the cgridview header titles by scenarios?

The cgridview header titles are not working on Model scenarios.

If the gridview table are sortable, it does not work.

if it is not sortable, it works