- $scroll: Boolean value indicates wheter
- $height: phpGrid height
- Use vertical scroll to load data. The datagrid will not load everything at once and will hold all the items from the start through to the latest point ever visited. This prevents memory leaks from happening.
- Pagination is disabled when scroll is set to true.
- The default height is 400 when scroll is true and should never be ‘100%’.
$dg -> set_scroll(true);