0

I want to word wrap the Name column. I am using the following code to wrap the column

  "$schema": "https://developer.microsoft.com/json-schemas/sp/v2/column-formatting.schema.json",
"elmType":"div",
"style":{
  "white-space":"wrap"
},
"txtContent":"[$FileLeafRef]"
}

It works but it change the way the Name column behaves. For example, you will have to double click to go inside the folder and when you hover over it, you don't get the share and add shortcut to OneDrive options.

enter image description here

Is there way to achieve the wrap formatting without looking the default behaviour?

0

Your Answer

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

Browse other questions tagged or ask your own question.