Adapting rowSpan to Contents in TileLayout for React
I want to adapt the
rowSpan value in a TileLayout based on the height of its contents. Currently, I have set the
rowSpan to a static number, but this results in white space when there is less data in the grid.
To dynamically adjust the
rowSpan value based on the content height, create a function that obtains the Grid height and recalculates it based on your needs.