Hey guys,
has anyone an idea how to remove the limit of gridfield list? Normally a gridfield list shows only 20 records or so.
I found also a few links on internet about GridField_DataManipulator and something from Willr:
https://github.com/silverstripe/silverstripe-framework/pull/2294
But I can´t get it work.
$config = GridFieldConfig_RelationEditor::create();
$config->addComponent(new GridFieldPrintButton());
$config->addComponent(new GridFieldDeleteAction());
$WorkField = new GridField(
'JobWorktimes',
$WorkFieldTitle,
$this->JobWorktimes()->sort('Date', 'ASC')->limit(null),
$config
);