Icinga2 / IcingaWeb2 : How to get more services listed at once in Service Grid

In the /icingaweb2/monitoring/list/servicegrid view, 20 services were listed by default and I could not figure out how to change this. Once I had more than 20 I had to paginate each time. That did not make sense as it was a glance view anyway.

Took me a while to figure this out. Finally after a bunch of snooping, here is the answer.

Change in this file:
/usr/share/php/Icinga/Data/PivotTable.php

This value where it says 20:
$limit = $this->getPaginationParameter('x', 'limit', 20);
so to have 40 services in one service grid view:
$limit = $this->getPaginationParameter('x', 'limit', 40);