Hi everybody, I want to edit a cell of the GridView,
I have this:
The model:
public function getInputField($fieldName) {
return CActiveForm::textField($this,$fieldName,array("name"=>"form_name[".$fieldName."][" .$this->Id . "]"));
}
The grid:
'columns'=>array(
array('name'=>"theFieldName",
'type'=>'raw',
'value'=>'$data->getInputField(\'theFieldName\')'),
But, How can I save the value in the input fields??
Because I want to complete the Fields and the submit it
Thanks you very much.!!