CGridView: understanding ajax flow

Hi everyone,

in order to have a better control and understanding, I’d like to exactly grasp how the ‘search-and-grid update’ process of the CGridView generated by the yii CRUD generator works.

Ok, ajax.

But which and where are the files and the methods implied in the process?

Where can I read, for example, the ajax call and callback, or the re-render grid code?

Thank you!

Andrea

you will find it in file: yii\framework\zii\widgets\assets\gridview\jquery.yiigridview.js

generally - every update cals server to render whole page again (same action, only GET params with filter values and page number) and when server responds - jQuery replace current grid content with the one found in new ajax content.

Thank you very much :)