In the list view, how to build a link to edit the item

Hi Steve,
I used renderCell() to modify the link. But I can't get the cursor value.
How can I get it ?
Thank you
Jean
I used renderCell() to modify the link. But I can't get the cursor value.
- Code: Select all
function libelle__renderCell(&$record){
echo '<pre>';print_r($record);echo '</pre>';exit;
$app =& Dataface_Application::getInstance();
$query =& $app->getQuery();
$table =$query['-table'];
$cursor=$record->val('id_moyen');
$skip=$query['-skip'];
$cursor=$_REQUEST['-cursor'];
$limit=$query['-limit'];
$mode=$query['-mode'];
return '<a>'.$record->val('libelle').'</a>';
}
How can I get it ?
Thank you
Jean