How to use Yii Session and GridView

Hi Everyone,

I try to convert my desktop application to web application using Yii2.

In my desktop application like picture above, is a bulk insert to database. Before bulk insert to database, user must insert data to the table. So the user insert id_petani, bruto, price, etc.

I would like to ask the experts in Yii2 how to perform like this?

Any advice would be appreciate.

Thanks before.



You have to implement it via JavaScript. There are lots of different grid solutions out there and I can’t really recommend using one and not another…

Thanks to @samdark for the reply.

I have tried using datatables from and it actually would deliver my goal.

Does anyone have example for implementing system like purchase order?

(insert into temporary table and submit then go to database).