You are viewing limited content. For full access, please sign in.

Question

Question

Hide the Delete Icon in Table Row in Forms

asked on June 13, 2019

Is there a way to delete the delete icon for individual rows in forms table?

 

Priya

1 0

Replies

replied on November 13, 2019

I could not get the css/javascript solution to work, it hid all rows. 
Tinkering with it I found that one line of css will work:
 

.form-del-field { display:none!important; }

 

1 0
replied on June 17, 2019

You can do it through a combination of CSS and Javascript.

 

In your CSS, add the line 

.HideTableDelete { display:none!important; }

In your javascript, when you identify the row you want to remove the button from and add the above class to it.

row.find('.form-del-field').addClass("HideTableDelete");

 

0 0
You are not allowed to follow up in this post.

Sign in to reply to this post.