Using Sharepoint 2013,

List with Boxed Style. Looking for script to include in script editor to change the columns from two to three.


1 Answer 1

  • Open the view in Sharepoint designer
  • Locate the "List view tools" bar and select "Design".
  • Click "Customize XSLT" then select "Customize entire view"
  • Find this line of code

    xsl:when test="$Position mod 2 = 0"

    and update it as you need. For instance: If you need to display 4 columns instate of 2 then, replace the line of code by the following:

xsl:when test="$Position mod 4 = 0"

Not the answer you're looking for? Browse other questions tagged or ask your own question.