Find file History
Permalink
Type Name Latest commit message Commit time
..
Failed to load latest commit information.
README.md Cleanup (#70) Aug 18, 2018
listformatting-rowformatter.png Cleanup (#70) Aug 18, 2018
multiline-view.json Updated the JSON 'hideSelection' and 'hideColumnHeader' to use true b… Sep 25, 2018

README.md

Multi-line view rendering

Summary

This example uses the rowFormatter element, which totally overrides the rendering of a list view row. The rowFormatter in this example creates a bounding <div /> box for every list view row. Inside this bounding box, the $Title and $Feedback fields are displayed on separate lines. Under those fields, a button element is displayed that, when clicked, does the same thing as clicking the list row in an uncustomized view, which is opening the property form for the item. This button is displayed conditionally, when the value of the $Assigned_x0020_To field (assumed to be a person/group field) matches the current signed-in user.

SharePoint list with multi-line view customization

View requirements

  • The format expects the Title field
  • The format expects a text column with an internal name of Feedback
  • The format expects a person column with an internal name of Assigned_x0020_To

Sample

Solution Author(s)
json-file-name Lincoln DeMaris (Microsoft)

Version history

Version Date Comments
1.0 August 10, 2018 Initial release

Disclaimer

THIS CODE IS PROVIDED AS IS WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING ANY IMPLIED WARRANTIES OF FITNESS FOR A PARTICULAR PURPOSE, MERCHANTABILITY, OR NON-INFRINGEMENT.


Additional notes

None