modify rowsets on double click
Editing, just by double click
// Modify row set: edit on dblClick
$this->Editor->setConfig('modifyRowSets', array(
&$this,
'rowsetEditOnDblClick'
));
and
function rowsetEditOnDblClick($rowSet, $rowInfo, $rowNum)
{
$rowSet['onDblClick'] = $this->mateInstances[0] . ".editRow('" . $rowInfo['id'] . "');";
return $rowSet;
}
Comments