Closed chaikovskyia closed 10 years ago
It is obvious that $data
doesn't exists, the only thing you need to pass is the url
: 'url'=>$this->createUrl('admin/testimonials/update'),
the editable widget will handle the post of the correspondent model's id. Also, remember that you need to set the WhEditableSaver
at the controller.
@tonydspaniard How to set WhEditableSaver at the controller. No example is provided anywhere.
Can't figure out how to make editable columns in the WhGridView.
This line: 'url'=>$this->createUrl('admin/testimonials/update', array('id'=>$data->id)) generates an error : Undefined variable: data