Our state of the art Gantt chart


Post by himanshurjoshi »

If you mean, it never worked.

then, why it is showing on 5.5.3
I tried again and you can see in the image that right side of timeline is also taking autoHeight.

Screenshot from 2024-05-08 12-13-25.png
Screenshot from 2024-05-08 12-13-25.png (76.57 KiB) Viewed 57 times

If it was never intended to work, then why its showing properly here?


Post by tasnim »

Strange! We'll investigate it. https://github.com/bryntum/support/issues/9145

All the best,
Tasnim


Post by himanshurjoshi »

Hello Tasnim,

You have closed https://github.com/bryntum/support/issues/9145 as this is fixed in 5.6.11 version.
Today we tried with 5.6.11 version autoHeight true, but its still not working and still getting same result as previous.

Attaching screenshot of the demo from example of 5.6.11

screenshot-bryntum.com-2024.05.22-12_51_52.png
screenshot-bryntum.com-2024.05.22-12_51_52.png (184.61 KiB) Viewed 35 times

^^ We have added autoHeight = true for name column.

Here is the link to above demo - https://bryntum.com/products/gantt/examples/bigdataset/

Please have a look and let us know, why it's not working.


Post by ghulam.ghous »

Hi,

If you check the console, you might see warning there telling you that column autoHeight cannot be used along with fixedRowHeight.

GridBase.js:1694 One or more columns have autoHeight set, which is incompatible with fixedRowHeight.

If you want to use autoHeight on a column, set the fixedRowHeight to false on gantt. https://bryntum.com/products/gantt/docs/api/Grid/view/GridBase#config-fixedRowHeight

    columns : [{ type : 'name', width : 250, autoHeight:true}],
    fixedRowHeight: false,
Screenshot 2024-05-22 at 2.28.29 PM.png
Screenshot 2024-05-22 at 2.28.29 PM.png (679.37 KiB) Viewed 29 times

Post by himanshurjoshi »

Its working. Thank you!


Post Reply