I need a solution for getting the value from the dropdownlist in a CGridViewColumn to update a database table. The grid is not populated with a model but with a class which has a model also wrapped inside it with a few more properties. The value of properties is calculated using the model and then the data comes from the calculated values from this class.
The last column is a dropdownlist and on changing its value I want the data to be updated in the column. I have kept the primary key of the table also in the class as a property