Our state of the art Gantt chart
is there a possibility to set the rowHeight of specific tasks individually (i.e. somehow in the data record)
Hey pincherhgz,
For now, no. You can set different row heights, but the tasks themselves will have the same height.
I found in the gantt docs this:
rowHeight
:
Number
GridBase
Row height in pixels. This allows the default height for rows to be controlled. Note that it may be overriden by specifying a rowHeight on a per record basis
what does that exactly mean ?
Hey,
So, this GridBase rowHeight
is a default height for all the rows inside the Grid, but you can specify to some specific row, and you can overwrite with the second rowHeight.
just a remark, we added "autoHeight": true, to a column. Doing this changes the row height of that specific row, too
Yes pincherhgz,
That's also a possibility, as you can see in the documentation https://bryntum.com/products/gantt/docs/api/Grid/view/GridBase#config-autoHeight
Automatically set grids height to fit all rows (no scrolling in the grid). In general you should avoid using autoHeight: true, since it will bypass Grids virtual rendering and render all rows at once, which in a larger grid is really bad for performance.