12314 shaares
290 private links
290 private links
Gotchas
Sharing columns with subgrid tends to be pretty intuitive, but things get a bit more quirky when sharing rows.
Unfortunately, with subgrid, it doesn't quite work like this. By default, our child grid will only span a single grid column/row. If we want it to occupy multiple rows, we need to reserve them explicitly.
To use a dynamic amount of rows, we can use a big number like 99, one that will definitely exceed the actual number of rows and the unused rows will stack up together at the bottom. We lose the ability to use the gap property though.