FIX: GridField button styling in reports

This commit is contained in:
Tom Densham 2013-08-29 13:56:29 +01:00
parent 9b15c8c16d
commit 4f30fedafd

View File

@ -264,8 +264,9 @@ class SS_Report extends ViewableData {
new GridFieldSortableHeader(),
new GridFieldDataColumns(),
new GridFieldPaginator(),
new GridFieldPrintButton(),
new GridFieldExportButton()
new GridFieldButtonRow('after'),
new GridFieldPrintButton('buttons-after-left'),
new GridFieldExportButton('buttons-after-left')
);
$gridField = new GridField('Report',false, $items, $gridFieldConfig);
$columns = $gridField->getConfig()->getComponentByType('GridFieldDataColumns');