Skip to content

Commit

Permalink
FIX: GridField button styling in reports
Browse files Browse the repository at this point in the history
  • Loading branch information
nedmas committed Aug 29, 2013
1 parent 9b15c8c commit 4f30fed
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions code/reports/Report.php
Expand Up @@ -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');
Expand Down

0 comments on commit 4f30fed

Please sign in to comment.