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.

  • 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 '17 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. – ThinkB4Code Jun 12 '17 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 '17 at 12:41
  • @moe Yes 3rd one seems helpful but where exactly do I find DisableGridEditing property? – Sanjana Chhabira Jun 13 '17 at 12:32
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.

  • Please Add more details like CSS Style , detail steps ! – Mohamed El-Qassas MVP Jun 12 '17 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; – Sanjana Chhabira Jun 13 '17 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 '18 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 – Sanjana Chhabira May 13 '18 at 19:07

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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