mirror of
https://github.com/silverstripe/silverstripe-reports
synced 2024-10-22 11:05:53 +02:00
ENHANCEMENT: replacing ReportAdmin report listing paginator with a new footer GridField component
This commit is contained in:
parent
73a466c927
commit
203bfc9e99
@ -192,12 +192,11 @@ class ReportAdmin extends LeftAndMain implements PermissionProvider {
|
||||
new GridFieldToolbarHeader(),
|
||||
new GridFieldSortableHeader(),
|
||||
new GridFieldDataColumns(),
|
||||
new GridFieldPaginator()
|
||||
new GridFieldFooter()
|
||||
);
|
||||
$gridField = new GridField('Reports','Reports', $this->Reports(), $gridFieldConfig);
|
||||
$gridField->setDisplayFields(array(
|
||||
'title' => 'Title',
|
||||
'description' => 'Description'
|
||||
));
|
||||
$gridField->setFieldFormatting(array(
|
||||
'title' => '<a href=\"$Link\">$value</a>'
|
||||
|
Loading…
Reference in New Issue
Block a user