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

Additional header

Open NgKX1641 opened this issue 11 months ago • 2 comments

Hello, I see there is PrimaryDatePoints and SecondaryDatePoints for headers, is there a way for me to add a new header? I am trying to display the year, week, day of week, and date at the same time.

NgKX1641 avatar Mar 22 '24 05:03 NgKX1641

Currently not possible, i have another idea,you can try using a custom view.

You can try PrimaryDatePoints to display both year and week, and secondaryDatePoints to display both week and date. However, if that's the case, you need to set the cellWidth in ViewOptions to be larger.

https://gantt.ngnice.com/components/custom-view https://github.com/worktile/ngx-gantt/tree/master/example/src/app/gantt-custom-view

walkerkay avatar Mar 22 '24 10:03 walkerkay

Yes I have thought of this approach, but having year and week in the same field makes year display repeatedly along with every week, so year is just repeating over and over again.

NgKX1641 avatar Mar 26 '24 05:03 NgKX1641