⚠ In case you've missed it, we have migrated to our new website, with a brand new forum. For more details about the migration you can read our blog post for website migration. This is an archived forum. ⚠

  •     

profile picture

function read



faris17

faris17
  • profile picture
  • Member

Posted 04 December 2017 - 11:52 AM

How i can hide a column when i click read action ? On my case, i want hide record password, so it can't read.

Amit Shah

Amit Shah
  • profile picture
  • Member

Posted 05 December 2017 - 00:51 AM

As for if you specifically want to hide a field only in case of read, what you can do is - you can check for the current state. If the same is "read" - then you can hide it by using

unset_edit_fields function. That should do the trick for you.

 

Happy GCing :)


faris17

faris17
  • profile picture
  • Member

Posted 05 December 2017 - 04:47 AM

Oh ok i see..
Thank you.