Kartik Gridview: add new empty editable column at the end of datagrid

Hello everyone,

I’m trying to find a native way to append an empty row to a GridView, but I can’t seem to solve the problem.
The goal is to press a button and display a series of editable fields at the bottom of the datagrid (similarly to what can be done with other components like DataTable).
I’ve considered a more “raw” approach (adding an empty row to the database, followed by a pjax.reload), but I’d rather not reload the grid and prefer to follow a “bulk saving” criterion (in case the user inserts more than one row).

Any ideas/approach?

Thanks in advance,
Alex

Provide GridView with a DataProvider that consists of one model that have empty value for attribute you want to display and edit.
Easier to be done with ArrayDataProvider than ActiveDataProvider