I’ve been trying to fix the tree table to show the complete content of the row, as I currently see its fixed to 30px and since the rows are absolutely positioned its very difficult to customise the row height, how would I go about fixing it? or is there an alternative solution?
Are you using a Tree Model with the Tree Engine?
If you are, then the Row Height only needs to be set when using Virtual Scrolling. If you disable Virtual Scrolling and use Pagination, the Row Height does not need to be set and the row height will vary with the content.
You can see this in Bundle_TM in the e-commerce workspace that comes with the installer. The end result look like this.
no we are using it programatically using the widgets, no engine and no pagination.
per default the basic A12 Widgets Docs - Treetable used with FlatTheme has a min-height of 32px for its cells. This should allow dynamic rows heights based on your cell content.
Since A12 TreeEngine internally uses TreeTable @malcolm-silver-ice assumption should be also correct for plain usage of that widget:
The only case where dynamic row height can’t be achieved is if you use the virtualScrollOptions (Virtual Scroll) property for your TreeTable since virtual scroll needs a fixed height for calculation.
So please double check if you use that options.
If that is not the case further investigation then rely on some example code for your specific problem.
Thanks for that ![]()
it was the virtualScrollOptions, once I removed it from the props and removed the height from an inline style for the rowStyling, its now growing and shrinking as it should.
