Our state of the art Gantt chart


Post by pincherhgz »

is there a possibility to set the rowHeight of specific tasks individually (i.e. somehow in the data record)


Post by marcio »

Hey pincherhgz,

For now, no. You can set different row heights, but the tasks themselves will have the same height.

Best regards,
Márcio


Post by pincherhgz »

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 ?


Post by marcio »

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.

Best regards,
Márcio


Post by pincherhgz »

just a remark, we added "autoHeight": true, to a column. Doing this changes the row height of that specific row, too


Post by marcio »

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.

Best regards,
Márcio


Post by pincherhgz »

thanks for your feedback


Post Reply