Gridview With Default 5Rows Empty

I Have a create page

and i want to put gridview with default 5rows empty

i have take a look gridview, ActiveDataProvider with query model

don’t know how to manipulate it

anyone have experience with this case.

thank you.

Please elaborate "default 5rows empty".

create/input page with gridview

the gridview give several row (usually 5rows in web app)

and when we click textbox in first row, say it "Item Code", and we type "SAMSUNG-S3-MINI"

then the other textbox will be populate automatically (description, stock info, unit price, etc)

Default grid implementation doesn’t work for inputting anything so you should use custom grid solution anyway.