mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
3c516b7b97
API CHANGE: Simplified state handling so that it's just a key store. Affectors are replaced with GridField_ActionProviders. API CHANGE: Removed GridField state manipulation actions instead opting for GridField_ActionProvider actions. API CHANGE: Removed support for modifiers that add "body" rows, instead having core support for generating the body rows hardcoded into the GridField. API CHANGE: Allow modification of columns across the whole GridField with the GridField_ColumnProvider interface. API CHANGE: Renamed GridField_AlterAction to GridField_Action, and added actionName/args parameters, since it can be used for all actions (including batch actions and row actions) API CHANGE: Removed GridFieldRow class.
12 lines
383 B
Scheme
12 lines
383 B
Scheme
<tr class="ss-gridfield-{$EvenOdd} $FirstLast">
|
|
<% if $GridField.ExtraColumnsCount %>
|
|
<% control Fields %>
|
|
<td>$Value</td>
|
|
<% end_control %>
|
|
<td colspan="$GridField.ExtraColumnsCount" class="ss-gridfield-last"></td>
|
|
<% else %>
|
|
<% control Fields %>
|
|
<td <% if FirstLast %>class="ss-gridfield-{$FirstLast}"<% end_if %>>$Value</td>
|
|
<% end_control %>
|
|
<% end_if %>
|
|
</tr> |