I’m really trying to crack using Yii, but I admit I’m a bit lost. In my non-yii php version, I post an ajax request via jquery/post and then load the results into a div.
Assume, now, using Yii, that I want to do this with a database query, so that there is pagination of the returned file, but using ajax so that the page doesn’t reload each time.
Does anyone have a tutorial or could you point me in the right direction?
But anyway, if you want ajax on pagination, CListView might be your solution. It is more higher level compare to writing ajax manually. Here is CListView tutorial: