I have setup a specific ListView with all the columns I need.

I need to disable the Datasheet view on this ListView (called SubmittersList) then I need to have Datasheet view enabled on my other ListView (called ApproversList). This is the reason I cant untick the Datasheet checkbox in the list settings as there are two views.

I am guessing there is a way I can do this through a content editor on AllItems.aspx with some javascript/jquery but I am struggling to start with the code.

Any suggestions would be must appreciated. Thanks.

有帮助吗?

解决方案

First create a Datasheet view (ApproversList) and then disable Datasheet view in list settings. This way, the ApproversList will be still displayed as Datasheet but you will not be able to switch to DS view in other views.

Basically, the property Datasheet (Specify whether the datasheet can be used to bulk edit data on this list.) in list settings just enables/disables the button in ribbon.

许可以下: CC-BY-SA归因
scroll top