How can I make a column read only when in quick edit view? I have a column which is already in a read only using the infopath form but I can still edit it when I am in quick edit view.
Create a calculated column in your list that has same value as the column that you want to make read-only.
Now, in the view, replace the original column with the calculated column.
This works for simple and less number of columns. However, for making large number of columns read-only you are better off using the script.
Edit the page in SPD and on the Xslt View Webpart, on the ViewFields element, add the attribute
ReadOnly="TRUE" to the field you want to be read-only:
<WebPartPages:XsltListViewWebPart runat="server" ... > <XmlDefinition> <View ... > <Query> <ViewFields> <FieldRef Name="ano_mes" ReadOnly="TRUE"/>
(Make sure the FieldRef element you are editing is inside the ViewFields tag. On my first attempt I edited the FieldRef element inside the
<OrderBy> element - this will not work.)
Credits: Luck Tech Share
Option 1. In advanced list settings you can turn off the ability to use quick edit. Option 2. Use a calculated column to to display the information in the views. Only use this calculated column in any view.