Multi-line view rendering
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
$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.
- The format expects the
- The format expects a text column with an internal name of
- The format expects a person column with an internal name of
|json-file-name||Lincoln DeMaris (Microsoft)|
|1.0||August 10, 2018||Initial release|
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.