worktile / ngx-gantt

A modern and powerful gantt chart component for Angular
http://gantt.ngnice.com
MIT License
252 stars 70 forks source link

How to set left side width fixed, and view the content by horizontal scrolling? #475

Open Rick-Lewis opened 3 months ago

rangasandbox commented 2 months ago

Hey @Rick-Lewis , have you been able to find a solution? I would appreciate it if you could share what worked for you.

lsymy commented 2 months ago
<ngx-gantt-root #gantt [sideWidth]="sideContainerWidth">
    <gantt-loader *ngIf="loading"></gantt-loader>

    <ng-template #sideTemplate>
        <ng-container [ngTemplateOutlet]="tableTemplate"></ng-container>

        <div class="custom-scrollbar" [style.width.px]="sideContainerWidth">
            <div class="custom-scrollbar-aux"></div>
        </div>
    </ng-template>
</ngx-gantt-root>

custom table, maybe