0

I have a list with 2 views : All items and Requetsers I want to disable the quick edit link for requester view.

I have embedded these view on a webpart page as a webpart.

4
  • 1
    See 1, 2, 3. It depends on your approach, but I believe one of these holds the answer for your case.
    – moe
    Jun 12, 2017 at 11:57
  • do you require add new item in toolbar? If not then you can use List View Web Part property pane, and set Toolbar type to No Toolbar. Jun 12, 2017 at 12:11
  • You can add the css to that listview page. for example you can add the script editor web part with css to requester.aspx page to hide the quick edit.
    – Ramesh
    Jun 12, 2017 at 12:41
  • @moe Yes 3rd one seems helpful but where exactly do I find DisableGridEditing property? Jun 13, 2017 at 12:32

1 Answer 1

1

You can add the css to that listview page. for example you can add the script editor web part with css to requester.aspx page to hide the quick edit.

4
  • Please Add more details like CSS Style , detail steps ! Jun 12, 2017 at 12:47
  • this is good for temporary cosmetic changes but I require a code based solution. This CSS worked for me - : table#Hero-WPQ3 > tbody > tr > td{ color:white; } table#Hero-WPQ3 > tbody > tr > td > a:last-child { display:none; Jun 13, 2017 at 12:34
  • @SanjanaChhabira: This css does not disable the Quick Edit button in the View Format group on the List ribbon does it?
    – pholpar
    Apr 18, 2018 at 13:39
  • @pholpar : It does. ID must be different for you. For me it was WPQ3. Check whats for yours? You can check with inspect element May 13, 2018 at 19:07

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.