Merge pull request #843 from nedmas/patch-1

FIX: GridField button styling in reports
This commit is contained in:
Ingo Schommer 2013-08-29 06:02:31 -07:00
commit cdb4ab4fbc

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');