function showDeleteOnView($colName,$value,$row) { return 'Delete id '.$row['id'].''; } function refreshAfterDelete($id, $col, $row) { $this->Editor->updateHtml(); } $this->Editor->setConfig('afterDeleteFun',array(&$this,'refreshAfterDelete'));