Encrypted

QuestionsEncrypted
Lazaro Gustavo asked 1 year ago
When registering a row in the grid, I want to save one of the fields encrypted, but when it is viewed in the grid it must be decrypted. it's possible? thank you
1 Answers
Abu Ghufran Staff answered 1 year ago

Hello,

Yes, this can be achieved by using on_update event handler where you can update field by passing to encrypt function.

And in on_data_display event, you can call decrypt function, which is called before loading data on grid.

Usage of both events are mentioned in docs:

https://www.gridphp.com/docs/grid-events/

_________________________
Abu Ghufran - Dev Team
Grid 4 PHP Framework
 
Your Answer

17 + 7 =

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?