⚠ 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

How to not unset the Edit button but just hide it?



Remco

Remco
  • profile picture
  • Member

Posted 26 July 2018 - 12:24 PM

Hi Guys,

 

Been searching the forum but no luck. I just want to hide the Edit button for a particular table. With the Unset function a user cannot edit or update records from the CRUD ... This does not work for me as I have a custom edit button for various reasons.

 

So how can I just hide the edit button in the list?

 

Tnx in advance!

 


Remco

Remco
  • profile picture
  • Member

Posted 27 July 2018 - 07:28 AM

Anybody?


Sangat Shah

Sangat Shah
  • profile picture
  • Member

Posted 31 July 2018 - 04:37 AM

Hi,

 

Using JQuery you can disable edit button 

like this :

  1. $(".btn").attr("disabled", "disabled");

Remco

Remco
  • profile picture
  • Member

Posted 31 July 2018 - 21:16 PM

 

Hi,

 

Using JQuery you can disable edit button 

like this :

  1. $(".btn").attr("disabled", "disabled");

 

 

You are right ... simple :) ... tnx!