dynamic tables at runtime?

Is there any reference documentation or tutorial for dynamic runtime tables with UI Toolkit? It seems like a basic requirement but there doesn’t seem to be a solid solution.

Something like the attached is what I’m trying to achieve. tia

I have been able to produce rows using a .uxml template for each row based on this example with some tweaks for runtime: How to Make an Item in a ListView from a uxml template?

It still seems that the handling of grids could be improved - it seems you must either force cell widths or heights in code if you want columns and rows aligned on a grid.

FYI, there’s this on the roadmap:

https://portal.productboard.com/xvo8kmgtx7tkv7desh8cyaj7/c/293-grid-layout?utm_medium=social&utm_source=portal_share

1 Like