Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

FIX: GridField button styling in reports

  • Loading branch information...
commit 4f30fedafdd7f465d84b6b1a3eb7f1319ace4d09 1 parent 9b15c8c
@nedmas nedmas authored
Showing with 3 additions and 2 deletions.
  1. +3 −2 code/reports/Report.php
View
5 code/reports/Report.php
@@ -264,8 +264,9 @@ public function getReportField() {
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');
Please sign in to comment.
Something went wrong with that request. Please try again.