Sharepoint list conditionnal inlineEditField

Occasional Visitor

Hello,

 

Is there a way to make inline editing active according to a value in another column of the list ?

 

e.g. if I have two text columns called "Editable" and "FieldName", could I get an inline editing of the cells "FieldName" only if the cell "Editable" is equal to "Yes" ?

 

I have tried

 

 

{
  "elmType": "div",
  "inlineEditField": "=if([$Editable]=='Yes',[$FieldName],'')",
  "txtContent": "[$FieldName]"
}

 

 

 and

 

 

"inlineEditField": {
	"operator": ":",
	"operands": [
	  {
		"operator": "==",
		"operands": [
		  "[$Editable]",
		  "Yes"
		]
	  },
	  "[$FieldName]",
	  ""
	]
},

 

 

 

Thanks for your help. 

0 Replies