Filter Cgridview With From Date

in these articles it’s shows how to made it to object

but i have CArrayDataProvider data

how to made in my case?

You have to make the raw data array that satisfies the conditions of ‘fromDate’ and ‘toDate’, manually by yourself.

If you are getting the raw data by some SQL, for example, then you can add the corresponding conditions to it to get the correct raw data array.

Or, if you do not want to change the SQL, you may loop through the retrieved data to make a proper raw data array.