1
0
-1

i need to keep the edit crud but remove the link. I'm creating the edit link in the datalist and use visibility option to hide and show using conditions.

I wish there is a check box similar to delete button to remove or show the EDIT and ADD in userview.

can this be done using JS  JQuery or CSS


Thanks!

    CommentAdd your comment...

    2 answers

    1.  
      2
      1
      0

      Like I said in my original post I'm calling the crud edit from datalist using hyperlink.

      if  I remove  "Form (Edit)" from CRUD menu the hyperlink will not work.

      I need a way to remove the link from UI only.

      1. Walter

        If that's the case, then can try to use CSS or Javascript in the CRUD menu to hide the link manually.

        Something like

        span.row_action_inner a {
            display: none;
        }
      2. Hamid Zahrir

        yours removes both crud and datalist buttons. 

        to remove just the crud edit  I used this


        <style>
        body .dataList
        table tbody tr td.row_action.footable-visible.footable-last-column { display: none; }
        table thead tr th.row_action.footable-visible.footable-last-column { display: none; }
        </style>


      CommentAdd your comment...
    2.  
      1
      0
      -1

      In the CRUD Menu config, remove the form in "Form (Edit)"

        CommentAdd your comment...