and if i set the limit to 31 it returns two pages

so - if I set the limit to 30, it returns 30 (which seems to be the max for 1 page)

though applying it straight to the list should also have worked. Unless that’s overridden somewhere.

hmmm you could try something like this:

  1. public function getEditForm($id = null, $fields = null){
  2. $form = parent::getEditForm($id, $fields);
  3. $gridField = $form->Fields()->fieldByName($this->sanitiseClassName($this->modelClass));
  4. $list = $gridField->getList()->limit(100);
  5. $gridField->setList($list);
  6. return $form;
  7. }