Setting records not editable after X hours/days (free version)

QuestionsSetting records not editable after X hours/days (free version)
Dario asked 11 years ago

Hi, I wonder if is it possible to set a record not editable after x hours with phpgrid (free version).
Thanks in advance

1 Answers
Abu Ghufran answered 10 years ago

Hello,

Yes, you can control it using php code. Just set 'edit' to false after applying your timer logic.

$g->set_actions(array(
"add"=>true, // allow/disallow add
"edit"=>false, // allow/disallow edit
"delete"=>true, // allow/disallow delete
)
)

Your Answer

14 + 17 =

Login with your Social Id:

OR, enter

Attach code here and paste link in question.
Attach screenshot here and paste link in question.



How useful was this discussion?

Click on a star to rate it!

Average rating 0 / 5. Vote count: 0

No votes so far! Be the first to rate it.

We are sorry that this post was not useful for you!

Let us improve this post!

Tell us how we can improve this post?