Sl. No
|
Query |
Syncfusion Comments | |
1 |
Is there a way to fit the height to its parent exactly? |
We suggest setting the value of the height property as 100% to fit the Gantt to the parent element. The following code snippets demonstrate the solution.
app.component.html
| |
2 |
Is there a way to set the height of timeline header columns? Also I need to change the height of the column headers too |
We have made use of the CSS classes of the timeline header and column header to change their heights. The following code snippets demonstrate the solution.
Index.html
| |
3 |
When there isn't enough tasks on the table and I still want the grid lines fill the rest of the table bottom space. |
We have made use of the CSS classes for the grid lines to increase their height to the height of the Gantt rendered. The following code snippets demonstrate the solution.
index.html
|
Hi Monisha,
I'm also facing the issue of Gantt chart grid lines disappearing. I tried solution number 3.
which is
<style>
.e-gantt .e-gantt-chart .e-line-container-cell {
height: 482px;
}
.e-chart-rows-container {
height: 482px !important;
}
</style>
after doing the above changes, I'm not able to scroll the Gantt chart.
here is sample: Sample
how can we fix this?
Hi Shubhi,
We have changed the behavior of the Gantt Chart to render the vertical gridlines to the complete height of the Gantt instead of the content height alone. Please update your packages to the latest version, (i.e.), v20.2.43 to avail this behavior.
Sample: https://stackblitz.com/edit/angular-xunist?file=app.component.html
Regards,
Monisha.
Hi Monisha,
i'm using angular version 10 currently and In your sample i.e https://stackblitz.com/edit/angular-xunist?file=app.component.html
you guys using angular version 12.
so, to update syncfusion packages to v20.2.43, do I need to update angular to version 12?
because when i'm updating syncfusion packages to v20.2.43, with angular 10, I'm facing issue
Hi Shubhi,
Yes, the latest version is can only be used with Angular 12. However, you can use ngcc tagged packages of Angular Syncfusion components for versions below Angular 12. Please refer the below documentation link to install the ngcc tagged packages.
Documentation: https://ej2.syncfusion.com/angular/documentation/getting-started/angular-cli/#angular-compatibility-compiled-package-ngcc
Regards,
Monisha.