Question

I am new to column and view formatting but see the power for my users. However, despite the wealth of examples between Microsoft docs and GitHub and the schema itself, I'm looking for descriptions of the many properties and acceptable values.

Example for column Style/width: can take a string input for pixel count like "40px", but also % value? I saw "11px 0" in some examples but can't figure the effect of this syntax.

Are there any detailed technical specs available?

Was it helpful?

Solution

Yes, width property in style can take the value in pixels(px) as well as percentage(%).

This question is more related to the CSS. You can read more about its syntax at: CSS width Property.

Also, check below official documentations for column and view formatting.

References:

  1. Use column formatting to customize SharePoint.
  2. Use view formatting to customize SharePoint.
Licensed under: CC-BY-SA with attribution
Not affiliated with sharepoint.stackexchange
scroll top