I have a model that results me an array of objects and when i loop trough i want to make several instances of widget gridview and pass along an array of object that comes from a relation, however the gridview is expecting a dataprovider and i'm not sure how to convert my data.
I have searched arround and someone else had the same issue but it was not solved:
http://stackoverflow.com/questions/5647190/using-cgridview-for-a-models-association
Anyone an idea what the best approach is to solve this issue?
I have searched arround and someone else had the same issue but it was not solved:
http://stackoverflow.com/questions/5647190/using-cgridview-for-a-models-association
Anyone an idea what the best approach is to solve this issue?