Gridview and PJAX


In Yii 1.x CGridview an icon displayed (circle moving icon) when sorting or searching take place until the new data received back to the client by AJAX

How to do that in Yii 2 in easy way ?


As I know Kartik GridView already have these feature.

turn the options pjax => true