Skip to content

Instantly share code, notes, and snippets.

@andrewconnell
Last active August 29, 2015 13:56
Show Gist options
  • Save andrewconnell/9192424 to your computer and use it in GitHub Desktop.
Save andrewconnell/9192424 to your computer and use it in GitHub Desktop.
HTML template of the list view for used to create a SharePoint 2013 Hosted App (SPH) Single Page App (SPA).
<table border="0" cellspacing="0" cellpadding="1" class="ms-listviewtable">
<thead>
<tr valign="top" class="ms-viewheadertr ms-vhltr">
<th scope="col" style="max-width: 500px" class="ms-vh2">
<div displayname="Title" class="ms-vh-div">
<a class="ms-headerSortTitleLink">Title</a>
</div>
</th>
<th scope="col" style="max-width: 500px" class="ms-vh2">
<div displayname="Title" class="ms-vh-div">
<a class="ms-headerSortTitleLink">Comments</a>
</div>
</th>
</tr>
</thead>
<tbody>
<tr class="ms-itmHoverEnabled ms-itmhover">
<td class="ms-cellstyle ms-vb-title ms-positionRelative" height="100%">
<div class="ms-vb ms-vb-menuPadding itx">
<a class="ms-listlink" target="_self">...</a>
</div>
</td>
<td class="ms-vb-lastCell ms-cellstyle ms-vb2 ms-vb-lastCell">
<div class="ms-rtestate-field">...</div>
</td>
</tr>
</tbody>
</table>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment