reenadak

modify rowsets on double click

Mar 25th, 2018
163
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.40 KB | None | 0 0
  1. Editing, just by double click
  2.         // Modify row set: edit on dblClick
  3.         $this->Editor->setConfig('modifyRowSets', array(
  4.             &$this,
  5.             'rowsetEditOnDblClick'
  6.         ));
  7.  
  8. and
  9.     function rowsetEditOnDblClick($rowSet, $rowInfo, $rowNum)
  10.     {
  11.         $rowSet['onDblClick'] = $this->mateInstances[0] . ".editRow('" . $rowInfo['id'] . "');";
  12.         return $rowSet;
  13.     }
Advertisement
Add Comment
Please, Sign In to add comment