Cgridview Horizontal

hello i’m trying to make a cgridview where you have a fixed column and others are dynamically loaded from the information that I have on the bd and the user fills up and grows horizontally, attached image to understand the idea.

other questions, you can place a value of $ data in the header of the column? thank you very much