Inline editing provides a quicker way to update data without navigating away from the page. However the built-in GridView does not provide this capability. Thankfully there are 3rd party solutions. One that I use is Krajee’s GridView which has Editable Column to serve this purpose.

This is one combo that I use frequently in my Yii2 projects. When the page is scrolled to the end, next set of data is retrieved and displayed automatically without the need to click the pagination link and without waiting for the page to load. This improves user experience.

Note that if you have huge amount of data, you still have to wait during the initial page load. But with infinite scrolling navigation through the any pages is smoother.

I’ve tried a few plugins but I find yii2-scroll-pager works the best with GridView and ListView widgets. This replaces the pagination links at the bottom of the page (or depends where you set it on the widget’s template).