![]() |
Sergey Kornilov admin 9/17/2007 |
You can use BeforeProcessRowList event for this purpose. function BeforeProcessRowList(&$data) |
D
|
dieter author 9/17/2007 |
You can use BeforeProcessRowList event for this purpose. Set $row["1editable"] variable to true for those records you want to be editable: The following code snippet makes editable all records on the list page starting with number 5. You can use this function to apply your logic. function BeforeProcessRowList(&$data)
|
![]() |
Sergey Kornilov admin 9/17/2007 |
Dieter, |
D
|
dieter author 9/18/2007 |
Dieter, in this case you need to modify generated code manually. I think upgrading to PHPRunner 4.1 is not a bad idea after all.
|
D
|
dieter author 9/20/2007 |
modify generated code manually
|
![]() |
Alexey admin 9/20/2007 |
Dieter. |
D
|
dieter author 9/20/2007 |
Dieter. not really sure what is your question here. What are you trying to do ? Please clarify.
|
D
|
dieter author 9/21/2007 |
Sorry I forgot, |
![]() |
Alexey admin 9/21/2007 |
Dieter, $_SESSION["rights"]=$data["rights"];
if($strTableName=="members") { if(( $strAction=="Edit" || $strAction=="Delete") && !((string)$SESSION["".$strTableName."_OwnerID"]===(string)$strValue)) return false; }
|