imri
(Imriqwe)
September 19, 2011, 8:26am
1
Hey there!
I am new to Yii, but I love it… Hope you can help me!
I’m willing to create a simple GridView, but it has a special feature -
I want all the fields to be editable, which means instead of just labels as texts,
I want all the texts to be inside text inputs (as values),
and each and every row will have an Edit submit button which will edit it.
How do I combine Yii’s Form Model with GridView?
I know there is an option in the model for multiple rows of fields, but how I combine a GridView with it?
If you can, please make me an example.
Thanks!
mdomba
(Maurizio Domba Cerin)
September 19, 2011, 9:29am
2
There are already some threads about this in the forum… try to search a bit…
Check these extensions if they suit your need:
http://www.yiiframework.com/extension/editablegridview
http://www.yiiframework.com/extension/htmltable
tri
(tri - Tommy Riboe)
September 19, 2011, 10:47am
3
And don’t forget to repeat all forum searchs since nothing will be returned on first try.
Google "site:yiiframework.com <topic>" is an alternative.
I think these facts should be pinned.
/Tommy
mdomba
(Maurizio Domba Cerin)
September 19, 2011, 10:49am
4
Tommy do you still have this error…
this happened few times because of corrupted indexes… but now it works for me… I’m getting the results at first search…
tri
(tri - Tommy Riboe)
September 19, 2011, 10:56am
5
Perhaps you’re right, I haven’t checked recently. But I still think plan B (Google) should be exaggerated. The forum search has been problematic for a long time so I don’t rely on it.
/Tommy
Haensel
(Johannes)
September 19, 2011, 11:11am
6