ngx-gantt icon indicating copy to clipboard operation
ngx-gantt copied to clipboard

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

Open Rick-Lewis opened this issue 1 year ago • 2 comments

Rick-Lewis avatar Jul 23 '24 02:07 Rick-Lewis

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

rangasandbox avatar Aug 22 '24 10:08 rangasandbox

<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

lsymy avatar Aug 23 '24 07:08 lsymy