Draft: Implement sections for grid views

Open Matthias Clasen requested to merge gridview-sections into main

This branch is on top of !6001.

It add section awareness to the various bits of grid view machinery, so that sections are displayed as expected.

There are some remaining issues with horizontal jitter when scrolling up and down, but those are in the general listbase machinery.

Edited by Matthias Clasen

Merge request reports