New to KendoReact? Start a free 30-day trial
Adapting rowSpan to Contents in TileLayout for React
Environment
| Product Version | 7.0.2 |
| Product | Progress® KendoReact TileLayout |
Description
I want to adapt the rowSpan value in a TileLayout based on the height of its contents. Currently, I have set the colSpan and rowSpan to a static number, but this results in white space when there is less data in the grid.
Solution
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.
Change Theme
Theme
Loading ...