mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
83e90aaafe
This class extends the DataGridPresenter with the behaviour and looks of a paginated Datagrid.
30 lines
730 B
Scheme
30 lines
730 B
Scheme
<% require css(sapphire/thirdparty/jquery-ui-themes/smoothness/jquery-ui.css) %>
|
|
<% require css(sapphire/css/GridField.css) %>
|
|
|
|
<div class="ss-gridfield ui-state-default" id="$Name">
|
|
<table>
|
|
<thead>
|
|
<tr>
|
|
<% control Headers %>
|
|
<th class="<% if FirstLast %>ss-gridfield-{$FirstLast}<% end_if %><% if IsSortable %> ss-gridfield-sortable<% end_if %><% if IsSorted %> ss-gridfield-sorted ss-gridfield-{$SortedDirection}<% end_if %>">
|
|
$Title <span class="ui-icon"></span></th>
|
|
<% end_control %>
|
|
</tr>
|
|
</thead>
|
|
|
|
<tbody>
|
|
<% control Items %>
|
|
<% include GridField_Item %>
|
|
<% end_control %>
|
|
</tbody>
|
|
|
|
<tfoot>
|
|
</tfoot>
|
|
</table>
|
|
|
|
<% control Footers %>
|
|
$Render
|
|
<% end_control %>
|
|
|
|
</div>
|